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-04-29 11:41:03
阅读次数:
147
[抄题]: Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element in the ...
分类:
其他好文 时间:
2018-04-28 23:50:23
阅读次数:
269
The boiling point of a liquid becomes higher as the pressure increases. The difference between liquid density r L and vapor density r V at the equilib ...
分类:
其他好文 时间:
2018-04-27 13:29:44
阅读次数:
162
这篇文章的作者是 David Corbacho,伦敦的一名前端开发工程师。之前我们有一篇关于”节流”和”去抖”的文章:The Difference Between Throttling and Debouncing(译文:节流(Throttling)和去抖(Debouncing)的区别),但是Dav ...
分类:
其他好文 时间:
2018-04-24 17:27:34
阅读次数:
715
给定一个 24 小时制(小时:分钟)的时间列表,找出列表中任意两个时间的最小时间差并已分钟数表示。示例 1:输入: ["23:59","00:00"]输出: 1备注: 1.列表中时间数在 2~20000 之间。 2.每个时间取值在 00:00~23:59 之间。详见:https://leetcode ...
分类:
其他好文 时间:
2018-04-23 00:11:34
阅读次数:
539
首先,sns = Simple Notification Service,sqs = Simple Queue Service sns与sqs有什么不同? (ref:https://stackoverflow.com/questions/13681213/what-is-the-difference ...
分类:
编程语言 时间:
2018-04-16 21:31:34
阅读次数:
825
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer arra ...
分类:
其他好文 时间:
2018-04-15 20:57:27
阅读次数:
171
给定一个 n x n 矩阵,其中每行和每列元素均按升序排序,找到矩阵中第k小的元素。请注意,它是排序后的第k小元素,而不是第k个元素。示例:matrix = [ [ 1, 5, 9], [10, 11, 13], [12, 13, 15]],k = 8,返回 13。说明:你可以假设 k 的值永远是有 ...
分类:
其他好文 时间:
2018-04-15 19:49:21
阅读次数:
208
给定两个以升序排列的整形数组 nums1 和 nums2, 以及一个整数 k。定义一对值 (u,v),其中第一个元素来自 nums1,第二个元素来自 nums2。找到和最小的 k 对数字 (u1,v1), (u2,v2) ... (uk,vk)。示例 1:给出: nums1 = [1,7,11], ...
分类:
其他好文 时间:
2018-04-15 17:15:57
阅读次数:
201
使用服务发现的时候提到了两种注解,一种为@EnableDiscoveryClient,一种为@EnableEurekaClient,用法上基本一致,今天就来讲下两者,下文是从stackoverflow上面找到的对这两者的解释: 原文地址为:What’s the difference between ...
分类:
编程语言 时间:
2018-04-12 20:52:56
阅读次数:
1220