Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Input: 1 \ 3 / 2 O ...
分类:
其他好文 时间:
2018-12-01 13:24:40
阅读次数:
169
Given a non-empty integer array of size n, find the minimum number of moves required to make all array elements equal, where a move is incrementing n ...
分类:
编程语言 时间:
2018-12-01 13:11:18
阅读次数:
211
https://leetcode.com/problems/minimum-size-subarray-sum/ Given an array of n positive integers and a positive integer s, find the minimal length of a ...
分类:
其他好文 时间:
2018-11-30 20:17:24
阅读次数:
187
Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimu... ...
分类:
其他好文 时间:
2018-11-29 12:33:36
阅读次数:
229
https://leetcode.com/problems/min-stack/ Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- ...
分类:
其他好文 时间:
2018-11-29 12:20:45
阅读次数:
180
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/ Suppose an array sorted in ascending order is rotated at some pivot unknown to ...
分类:
其他好文 时间:
2018-11-28 22:18:15
阅读次数:
179
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you ...
分类:
其他好文 时间:
2018-11-28 22:07:05
阅读次数:
165
【题目】 There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of th ...
分类:
其他好文 时间:
2018-11-28 15:39:02
阅读次数:
183
problem 111. Minimum Depth of Binary Tree 参考 1. Minimum Depth of Binary Tree; 完 111. Minimum Depth of Binary Tree 1. Minimum Depth of Binary Tree; 完 1 ...
分类:
其他好文 时间:
2018-11-28 12:07:27
阅读次数:
218