码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
209. Minimum Size Subarray Sum
问题描述: Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there ...
分类:其他好文   时间:2018-06-19 13:55:08    阅读次数:159
简单的java数据类型总结
java数据类型 基本数据类型(一般使用小写) 特点 除了值没有任何标识,1=1 不可变数据类型 在作用域范围内,局部栈中存储 建立成本低 对象数据类型(除了基本数据类型以外的数据类型) 特点 除了值以外还有标识 部分可变 堆中存储,自动回收 泛型进行统一的表示 建立成本高 祖先:均为object的 ...
分类:编程语言   时间:2018-06-17 17:56:31    阅读次数:147
168. Excel Sheet Column Title
问题描述: Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: Example 1: Example 2: Example 3: 解题思路: ...
分类:其他好文   时间:2018-06-16 10:33:42    阅读次数:146
[LeetCode] 209. Minimum Size Subarray Sum_Medium
Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn't ...
分类:其他好文   时间:2018-06-16 10:28:25    阅读次数:183
leetcode 367. Valid Perfect Square
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:其他好文   时间:2018-06-14 23:58:34    阅读次数:288
1144 The Missing Number
Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains ...
分类:其他好文   时间:2018-06-14 20:57:53    阅读次数:170
1080 Graduate Admission (30)
It is said that in 2013, there were about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if ...
分类:其他好文   时间:2018-06-14 14:44:53    阅读次数:268
1113 Integer Set Partition (25)
Given a set of N (> 1) positive integers, you are supposed to partition them into two disjoint sets A~1~ and A~2~ of n~1~ and n~2~ numbers, respective ...
分类:其他好文   时间:2018-06-11 18:58:12    阅读次数:140
59. Spiral Matrix II
问题描述: Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. Example: 解题思路: 这道题我认为主要是找到什么时候变化坐标以及如何变化 ...
分类:其他好文   时间:2018-06-11 10:55:40    阅读次数:163
LeetCode - Nth Digit
是说自然数序列看成一个长字符串,问我们第N位上的数字是什么。那么这道题的关键就是要找出第N位所在的数字,然后可以把数字转为字符串,这样直接可以访问任何一位。那么我们首先来分析自然数序列和其位数的关系,前九个数都是1位的,然后10到99总共90个数字都是两位的,100到999这900个数都是三位的,那 ...
分类:其他好文   时间:2018-06-10 12:04:38    阅读次数:180
2430条   上一页 1 ... 62 63 64 65 66 ... 243 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!