摘要:
题目:Given a collection of integers that might contain duplicates,nums, return all possible subsets.Note:Elements in a subset must be in non-descending ... 阅读全文
posted @ 2016-01-04 22:43
很好玩
阅读(271)
评论(0)
推荐(0)
摘要:
varfunc=function和functionfunc()在意义上没有任何不同,但其解释优先级不同:后者会先于同一语句级的其他语句。即:{ var k = xx(); function xx(){return 5;}}不会出错,而{ var k = xx(); var xx = function... 阅读全文
posted @ 2016-01-04 22:04
很好玩
阅读(2048)
评论(1)
推荐(0)
摘要:
题目:Given a set of distinct integers,nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must ... 阅读全文
posted @ 2016-01-04 21:53
很好玩
阅读(321)
评论(0)
推荐(0)
摘要:
题目:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the ... 阅读全文
posted @ 2016-01-04 16:53
很好玩
阅读(250)
评论(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 two... 阅读全文
posted @ 2016-01-04 16:26
很好玩
阅读(222)
评论(0)
推荐(0)
摘要:
题目:Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty spac... 阅读全文
posted @ 2016-01-04 15:36
很好玩
阅读(168)
评论(0)
推荐(0)
摘要:
题目:A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any poi... 阅读全文
posted @ 2016-01-04 15:08
很好玩
阅读(208)
评论(0)
推荐(0)

浙公网安备 33010602011771号