导航

2016年9月17日

摘要: Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 这个题目就是在一个字符串中找到另外一个字符串第一 阅读全文

posted @ 2016-09-17 17:06 CSU蛋李 阅读(126) 评论(0) 推荐(0) 编辑

摘要: The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.11 is read off 阅读全文

posted @ 2016-09-17 16:50 CSU蛋李 阅读(127) 评论(0) 推荐(0) 编辑

摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled wit 阅读全文

posted @ 2016-09-17 16:45 CSU蛋李 阅读(85) 评论(0) 推荐(0) 编辑