数据结构:哈希表
fxf1012
这个作者很懒,什么都没留下…
展开
-
LeetCode 1 TwoSum
LeetCode1.TwoSumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the原创 2015-04-30 15:18:15 · 274 阅读 · 0 评论 -
LeetCode 3 Longest Substring Without Repeating Characters
LeetCode3 Longest Substring Without Repeating Characters题目Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating let原创 2015-04-30 22:42:28 · 469 阅读 · 0 评论 -
LeetCode 36 Valid Sudoku
LeetCode36 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 the character ‘.’.A parti原创 2015-05-04 15:53:17 · 343 阅读 · 0 评论