码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
4. Median of Two Sorted Arrays
4. Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The ...
分类:其他好文   时间:2017-10-07 01:50:08    阅读次数:168
Javac之关于方法的调用1
实例1: 实例2: ...
分类:编程语言   时间:2017-10-03 19:43:09    阅读次数:224
[TS] Swap two element in the array (mutation)
Shuffling is a common process used with randomizing the order for a deck of cards. The key property for a perfect shuffle is that each item should hav ...
分类:其他好文   时间:2017-10-03 18:58:47    阅读次数:226
217. Contains Duplicate【easy】
217. Contains Duplicate【easy】 Given an array of integers, find if the array contains any duplicates. Your function should return true if any value app ...
分类:其他好文   时间:2017-10-03 12:02:36    阅读次数:122
leetcode 41. First Missing Positive
link Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algori ...
分类:其他好文   时间:2017-10-02 23:10:34    阅读次数:250
搭建 vue-cli
http://www.ruanyifeng.com/blog/2017/02/filename-should-be-lowercase.html vue-cli 问题: http://www.jianshu.com/p/2769efeaa10a ...
分类:其他好文   时间:2017-10-02 21:32:30    阅读次数:130
54. Spiral Matrix
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example,Given the following matrix: You s ...
分类:其他好文   时间:2017-10-02 17:50:20    阅读次数:152
[LeetCode] Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. 计算n!结果的末尾有几个零。 题目要求复杂度为对 ...
分类:其他好文   时间:2017-10-02 11:51:19    阅读次数:189
水题讲解:积木大赛
题目描述 春春幼儿园举办了一年一度的“积木大赛”。今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第i块积木的最终高度需要是hi。 在搭建开始之前,没有任何积木(可以看成n块高度为 0 的积木)。接下来每次操作,小朋友们可以选择一段连续区间[l, r],然后将第第 L ...
分类:其他好文   时间:2017-10-01 22:05:56    阅读次数:124
Canvas
【Canvas】 ...
分类:其他好文   时间:2017-10-01 20:34:37    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!