- 博客(3)
- 收藏
- 关注
原创 Leetcode: Two Sum
QuestionGiven 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 target,
2015-10-26 06:13:09 226
原创 Leetcode: Populating Next Right Pointers in Each Node II
QuestionFollow up for problem “Populating Next Right Pointers in Each Node”.What if the given tree could be any binary tree? Would your previous solution still work?Note:You may only use constant extra
2015-10-25 09:06:24 226
原创 Leetcode: Unique Paths
easy one;A robot is located at the top-left corner of a m x ngrid (marked ‘Start’ in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach t
2015-10-25 06:22:42 247
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人