随笔分类 -  LeetCode

摘要:Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the ... 阅读全文

posted @ 2015-01-28 15:08 lh_chuang 阅读(105) 评论(0) 推荐(0)

摘要:Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co... 阅读全文

posted @ 2015-01-20 16:52 lh_chuang 阅读(130) 评论(0) 推荐(0)

摘要:Two SumGiven 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... 阅读全文

posted @ 2015-01-20 14:47 lh_chuang 阅读(122) 评论(0) 推荐(0)

导航