摘要: 1.Contains Duplicate 题目链接 题目要求: Given an array of integers, find if the array contains any duplicates. Your function should return true if any val... 阅读全文
posted @ 2015-06-20 20:39 峰子_仰望阳光 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Given an array of integers, every element appearstwiceexcept for one. Find that single one. Note: Your algorithm should have a linear... 阅读全文
posted @ 2015-06-20 16:44 峰子_仰望阳光 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells... 阅读全文
posted @ 2015-06-20 16:20 峰子_仰望阳光 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1. Two Sum 题目链接 题目要求: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum shoul... 阅读全文
posted @ 2015-06-20 13:39 峰子_仰望阳光 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题目要求: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most signif... 阅读全文
posted @ 2015-06-20 11:15 峰子_仰望阳光 阅读(183) 评论(0) 推荐(0) 编辑