随笔分类 -  LeetCode

开始刷LeetCode上的题目,因为感觉自己笨笨哒。。。
摘要:【题目】: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists:... 阅读全文
posted @ 2015-02-04 12:25 菜鸟加贝的爬升 阅读(449) 评论(0) 推荐(0)
摘要:题目:Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The functi... 阅读全文
posted @ 2015-01-15 21:01 菜鸟加贝的爬升 阅读(449) 评论(0) 推荐(0)
摘要:【题目】: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 t... 阅读全文
posted @ 2015-01-15 20:34 菜鸟加贝的爬升 阅读(377) 评论(0) 推荐(0)
摘要:【题目】: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain ... 阅读全文
posted @ 2015-01-15 18:29 菜鸟加贝的爬升 阅读(668) 评论(0) 推荐(0)
摘要:题目: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-... 阅读全文
posted @ 2014-10-15 10:22 菜鸟加贝的爬升 阅读(215) 评论(0) 推荐(0)