摘要:
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o... 阅读全文
posted @ 2014-04-13 23:52
Eason Liu
阅读(227)
评论(0)
推荐(0)
摘要:
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume that there will be on... 阅读全文
posted @ 2014-04-13 22:25
Eason Liu
阅读(1426)
评论(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 with ... 阅读全文
posted @ 2014-04-13 20:22
Eason Liu
阅读(898)
评论(0)
推荐(0)
摘要:
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input string (not partial).The function prototype should be:bool isMatch(const char 阅读全文
posted @ 2014-04-13 14:44
Eason Liu
阅读(2406)
评论(0)
推荐(0)