码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
119. Pascal's Triangle II
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. In Pascal's trian ...
分类:其他好文   时间:2018-06-09 15:23:53    阅读次数:156
*204. Count Primes (siecing prime)
Count the number of prime numbers less than a non-negative number, n. Example: Solution2: ssieving: need a helping array with false initialization: fa ...
分类:其他好文   时间:2018-06-09 00:00:29    阅读次数:225
66. Plus One
Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d ...
分类:其他好文   时间:2018-06-08 21:58:38    阅读次数:164
530. Minimum Absolute Difference in BST
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Input: 1 \ 3 / 2 O ...
分类:其他好文   时间:2018-06-07 14:13:24    阅读次数:190
69. Sqrt(x)
问题描述: Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is ...
分类:其他好文   时间:2018-06-02 11:40:40    阅读次数:130
leetcode61. Rotated List
问题描述: Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example 2: 解题思路: 这道题的rotate的定义很有趣,是把最后一个元素挪到了 ...
分类:其他好文   时间:2018-06-01 10:56:56    阅读次数:172
B - Alyona and mex
Problem description Alyona's mother wants to present an array of n non-negative integers to Alyona. The array should be special. Alyona is a capriciou ...
分类:其他好文   时间:2018-05-31 20:28:46    阅读次数:170
CodeForces - 724G Xor-matic Number of the Graph
Discription You are given an undirected graph, constisting of n vertices and m edges. Each edge of the graph has some non-negative integer written on ...
分类:其他好文   时间:2018-05-29 11:01:09    阅读次数:242
leetcode 66. Plus One
Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d ...
分类:其他好文   时间:2018-05-29 01:49:39    阅读次数:109
leetcode-66-Plus One
题目描述: Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most signifi ...
分类:其他好文   时间:2018-05-28 22:43:08    阅读次数:244
2271条   上一页 1 ... 33 34 35 36 37 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!