
LeetCode
家庭煮夫在搬砖
这个作者很懒,什么都没留下…
展开
-
LeetCode 1 Two Sum
Question: Given 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 targe原创 2016-02-11 17:22:13 · 419 阅读 · 0 评论 -
LeetCode 2 Add Two Numbers
原创:题目: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as原创 2016-02-27 23:38:46 · 387 阅读 · 0 评论 -
LeetCode 3 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 letters for “abcabcbb” is “abc”, which the length is原创 2016-02-27 23:41:26 · 482 阅读 · 0 评论