码迷,mamicode.com
首页 >  
搜索关键字:smallest difference    ( 1670个结果
LeetCode-Microsoft-Remove K Digits
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
744. Find Smallest Letter Greater Than Target 查找比目标字母大的最小字母
[抄题]: 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
Liquid–vapor coexistence curves of several interatomic model potentials
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
节流(Throttling)和去抖(Debouncing)详解
这篇文章的作者是 David Corbacho,伦敦的一名前端开发工程师。之前我们有一篇关于”节流”和”去抖”的文章:The Difference Between Throttling and Debouncing(译文:节流(Throttling)和去抖(Debouncing)的区别),但是Dav ...
分类:其他好文   时间:2018-04-24 17:27:34    阅读次数:715
539 Minimum Time Difference 最小时间差
给定一个 24 小时制(小时:分钟)的时间列表,找出列表中任意两个时间的最小时间差并已分钟数表示。示例 1:输入: ["23:59","00:00"]输出: 1备注: 1.列表中时间数在 2~20000 之间。 2.每个时间取值在 00:00~23:59 之间。详见:https://leetcode ...
分类:其他好文   时间:2018-04-23 00:11:34    阅读次数:539
在Python中使用aws的sns和sqs
首先,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
leetcode 594. Longest Harmonious Subsequence
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
378 Kth Smallest Element in a Sorted Matrix 有序矩阵中第K小的元素
给定一个 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
373 Find K Pairs with Smallest Sums 查找和最小的K对数字
给定两个以升序排列的整形数组 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
spring cloud服务发现注解之@EnableDiscoveryClient与@EnableEurekaClient
使用服务发现的时候提到了两种注解,一种为@EnableDiscoveryClient,一种为@EnableEurekaClient,用法上基本一致,今天就来讲下两者,下文是从stackoverflow上面找到的对这两者的解释: 原文地址为:What’s the difference between ...
分类:编程语言   时间:2018-04-12 20:52:56    阅读次数:1220
1670条   上一页 1 ... 42 43 44 45 46 ... 167 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!