摘要:
题目:Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. ... 阅读全文
posted @ 2015-09-23 12:27
Hygeia
阅读(205)
评论(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 @ 2015-09-23 11:57
Hygeia
阅读(175)
评论(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 @ 2015-09-23 11:26
Hygeia
阅读(240)
评论(0)
推荐(0)
摘要:
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu... 阅读全文
posted @ 2015-09-23 06:20
Hygeia
阅读(176)
评论(0)
推荐(0)

浙公网安备 33010602011771号