码迷,mamicode.com
首页 >  
搜索关键字:appear    ( 1294个结果
Leetcode——array EASY笔记
448. Find All Numbers Disappeared in an Array 误区,O(n)不是要求只能有一个for循环,而是要求,不能有嵌套的for循环!!! 所以可以一个for结束,再一个for结束····这样的 气死了!!数组是 i=0;i<nums.length;i++; 要减 ...
分类:其他好文   时间:2017-04-10 16:36:12    阅读次数:97
ZOJ How Many Nines 模拟 | 打表
If we represent a date in the format YYYY-MM-DD (for example, 2017-04-09), do you know how many 9s will appear in all the dates between Y1-M1-D1 and Y ...
分类:其他好文   时间:2017-04-09 22:41:21    阅读次数:474
168. Excel Sheet Column Title (Math)
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 ...
分类:其他好文   时间:2017-04-07 09:56:11    阅读次数:88
[leetcode-26-Remove Duplicates from Sorted Array]
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new lengthDo not allocate extra space for ...
分类:其他好文   时间:2017-04-04 20:42:52    阅读次数:198
442. Find All Duplicates in an Array
Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twi ...
分类:其他好文   时间:2017-04-04 10:41:15    阅读次数:200
448. Find All Numbers Disappeared in an Array
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] ...
分类:移动开发   时间:2017-04-04 09:25:17    阅读次数:219
git服务器的建立——Git折腾小记
转自:http://blog.csdn.net/xsl1990/article/details/25486211 如果你能看到一些sshd相关的进程信息,则说明你已经有这个服务了,否则(或者你想更新的话),使用下面的命令安装openssh [plain] view plaincopy sudo ap ...
分类:其他好文   时间:2017-04-04 00:53:48    阅读次数:1783
Eclipse 基础操作与设置
1.快捷键 ctrl+F 在某个文档里搜索对应字段 ctrl+H 全文件查询对应字段 ctrl +shift +R 快速查找某个java类 ctrl +shift +O 自动导入需要的包,删除没用过的导入包。 2.设置工作空间字体大小和颜色 Windows -Preferences-General- ...
分类:系统相关   时间:2017-04-03 16:10:27    阅读次数:232
LeetCode 448. Find All Numbers Disappeared in an Array
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] ...
分类:移动开发   时间:2017-04-02 16:17:00    阅读次数:180
剑指offer(36-40)编程题
两个链表的第一个公共结点 数字在排序数组中出现的次数 二叉树的深度 平衡二叉树 数组中只出现一次的数字 36.输入两个链表,找出它们的第一个公共结点。 37.统计一个数字在排序数组中出现的次数。 38. 输入一棵二叉树,求该树的深度。从根结点到叶结点依次经过的结点(含根、叶结点)形成树的一条路径,最 ...
分类:其他好文   时间:2017-04-01 01:18:31    阅读次数:251
1294条   上一页 1 ... 47 48 49 50 51 ... 130 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!