2014年11月1日

摘要: Sudoku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that th... 阅读全文
posted @ 2014-11-01 20:54 Yu's Garden 阅读(1624) 评论(0) 推荐(0) 编辑
摘要: Valid SudokuDetermine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are... 阅读全文
posted @ 2014-11-01 19:15 Yu's Garden 阅读(1903) 评论(0) 推荐(0) 编辑
摘要: AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.思路:建Hashtable,用排序过的string作为ke... 阅读全文
posted @ 2014-11-01 17:39 Yu's Garden 阅读(1622) 评论(0) 推荐(0) 编辑

导航