- 博客(4)
- 资源 (18)
- 收藏
- 关注
原创 leetcode -Maximum Depth of Binary Tree
question: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. Hide Tags T
2015-02-10 23:48:46 310
原创 leetcode-Remove Duplicates from Sorted List
problem: Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3->3, return 1->2->3. Hid
2015-02-04 00:27:01 217
原创 leetcode linked list cycle
problem: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? Hide Tags Linked List Two Pointers
2015-02-03 23:58:42 209
原创 leetcode :twoSum
problem: 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 t
2015-02-03 19:07:03 249
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人