[LeetCode] ZigZag Conversion 解题报告

摘要: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ... 阅读全文
posted @ 2013-01-15 11:29 小刀初试 阅读(186) 评论(0) 推荐(0)

[LeetCode] Word Search 解题报告

摘要: Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace... 阅读全文
posted @ 2013-01-15 10:21 小刀初试 阅读(140) 评论(0) 推荐(0)