- 博客(7)
- 收藏
- 关注
原创 (补)week13
Kth Smallest Element in a BST(from Leecode 题意: Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k
2018-01-22 00:40:22 166
原创 (补)week12
Best Time to Buy and Sell Stock III(from leetcode 题意: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum prof
2018-01-22 00:34:02 152
原创 (补)week11
Best Time to Buy and Sell Stock II(from leetcode 题意: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profi
2018-01-22 00:31:52 175
原创 (补)week10
Best Time to Buy and Sell Stock(from leecode 题意: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one tran
2018-01-22 00:28:52 145
原创 (补)week9
Unique Paths II(from leetcode 题意: 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 space is ma
2018-01-22 00:24:56 264
原创 (补)week8
Unique Paths(from leetcode 题意: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in tim
2018-01-22 00:22:56 131
原创 (补)week6
Jump Game(fromLeecode 题意: 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 maximum jump length at
2018-01-22 00:19:45 169
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人