2015年5月18日
摘要: 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 @ 2015-05-18 14:39 黄瓜小肥皂 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, remove the nth node from the end of list and return its head.For example,Given linked list: 1->2->3->4->5, and n = 2. After remov... 阅读全文
posted @ 2015-05-18 13:33 黄瓜小肥皂 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o... 阅读全文
posted @ 2015-05-18 13:18 黄瓜小肥皂 阅读(98) 评论(0) 推荐(0) 编辑