码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
[LeetCode] Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:其他好文   时间:2015-01-09 20:46:49    阅读次数:196
Java-Excel Sheet Column Title
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 -> AB 本质就是将...
分类:编程语言   时间:2015-01-08 18:09:51    阅读次数:334
Leetcode:First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2015-01-06 17:35:22    阅读次数:152
Leetcode之LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if...
分类:系统相关   时间:2015-01-05 14:54:59    阅读次数:219
整数划分问题
描述 Given two positive integers N and M, please divide N into several integers A1, A2, ..., Ak (k >= 1), so that: 1. 0 2. A1 + A2 + ... + Ak = N; 3. A1, A2, ..., Ak are different with each oth...
分类:其他好文   时间:2015-01-05 13:04:23    阅读次数:121
[leetcode] Excel Sheet Column Title & Excel Sheet Column Number
Excel Sheet Column TitleGiven a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B ...
分类:其他好文   时间:2015-01-05 10:47:31    阅读次数:111
LeetCode: First Missing Positive 解题报告
First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Yo...
分类:其他好文   时间:2015-01-03 23:39:20    阅读次数:166
Excel Sheet Column Title
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 -> AB Credits...
分类:其他好文   时间:2015-01-03 22:29:17    阅读次数:216
【leetcode】First Missing Positive
First Missing PositiveGiven an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Yo...
分类:其他好文   时间:2015-01-03 17:08:17    阅读次数:127
[LeetCode]41 First Missing Positive
https://oj.leetcode.com/problems/first-missing-positive/http://blog.csdn.net/linhuanmars/article/details/20884585publicclassSolution{ publicintfirstMissingPositive(int[]A){ //如果可以排序,排序后从1开始检查 //如果一个数为3,把它置换到第三个空格 //i不动,..
分类:其他好文   时间:2015-01-03 13:25:09    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!