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
series Series 是pandas两大数据结构中(DataFrame,Series)的一种。 创建Series Series的定义 :Series是一种类似于一维数组的对象,它由一组数据(各种NumPy数据类型)以及一组与之相关的数据标签(即索引)组成。 ? Series对象本质上是一个Nu ...
分类:
编程语言 时间:
2018-11-30 13:48:53
阅读次数:
224
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