码迷,mamicode.com
首页 >  
搜索关键字:smallest difference    ( 1670个结果
LeetCoce 413. Arithmetic Slices
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:其他好文   时间:2018-12-04 22:39:12    阅读次数:196
783. Minimum Distance Between BST Nodes
Given a Binary Search Tree (BST) with the root node root, return the minimum difference between the values of any two different nodes in the tree. Exa ...
分类:其他好文   时间:2018-12-04 13:23:24    阅读次数:199
LeetCode 389. Find the Difference
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at ...
分类:其他好文   时间:2018-12-03 22:56:29    阅读次数:187
113th LeetCode Weekly Contest Largest Time for Given Digits
Given an array of 4 digits, return the largest 24 hour time that can be made. The smallest 24 hour time is 00:00, and the largest is 23:59. Starting f ...
分类:其他好文   时间:2018-12-02 22:49:46    阅读次数:185
Weekly Contest 113
949. Largest Time for Given Digits (string::compare) Given an array of 4 digits, return the largest 24 hour time that can be made. The smallest 24 hou ...
分类:其他好文   时间:2018-12-02 13:38:24    阅读次数:120
Arithmetic Slices
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:其他好文   时间:2018-12-02 10:37:30    阅读次数:145
530. Minimum Absolute Difference in BST
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
402. Remove K Digits - Medium
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:其他好文   时间:2018-11-29 15:01:13    阅读次数:143
halcon区域运算
halcon区域运算 区域运算: Ø 并:union1()、union2(); Ø 交:intersection(); Ø 差:difference(); Ø 补:complement(); 转自:https://www.cnblogs.com/bile/p/8600332.html 区域运算: Ø ...
分类:其他好文   时间:2018-11-28 12:14:50    阅读次数:330
[LeetCode&Python] Problem 530. Minimum Absolute Difference in BST
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Note: There are at ...
分类:编程语言   时间:2018-11-25 17:47:34    阅读次数:163
1670条   上一页 1 ... 28 29 30 31 32 ... 167 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!