[LeetCode] Valid Sudoku 解题报告

摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with... 阅读全文
posted @ 2013-01-12 14:20 小刀初试 阅读(151) 评论(0) 推荐(0)

[LeetCode] Valid Parentheses 解题报告

摘要: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the c... 阅读全文
posted @ 2013-01-12 13:31 小刀初试 阅读(153) 评论(0) 推荐(0)