码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
#Leetcode# 233. Number of Digit One
https://leetcode.com/problems/number-of-digit-one/ Given an integer n, count the total number of digit 1 appearing in all non-negative integers less t ...
分类:其他好文   时间:2019-04-13 10:34:55    阅读次数:119
410. Split Array Largest Sum
410. Split Array Largest Sum Given an array which consists of non-negative integers and an integer m, you can split the array into m non-empty continu ...
分类:其他好文   时间:2019-04-13 09:13:00    阅读次数:162
LeetCode 69 _ Sqrt(x) 求平方根 (Easy)
Description: 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 ...
分类:其他好文   时间:2019-04-09 20:24:04    阅读次数:148
2. Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2019-04-09 16:39:39    阅读次数:167
61. Rotate List
Given a list, rotate the list to the right by k places, where k is non-negative. Example: class Solution { public ListNode rotateRight(ListNode head, ...
分类:其他好文   时间:2019-04-09 16:32:40    阅读次数:120
Sort Array By Parity II LT922
Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever A[i] ...
分类:其他好文   时间:2019-04-08 21:40:00    阅读次数:186
Split Array Largest Sum LT410
Given an array which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays. Write an algor ...
分类:其他好文   时间:2019-04-08 09:12:00    阅读次数:122
*445. Add Two Numbers II
1. 原始题目 You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their node ...
分类:其他好文   时间:2019-04-07 12:50:04    阅读次数:99
Add to Array-Form of Integer LT989
For a non-negative integer X, the array-form of X is an array of its digits in left to right order. For example, if X = 1231, then the array form is [ ...
分类:其他好文   时间:2019-04-05 09:24:39    阅读次数:118
[leetcode]11. Container With Most Water存水最多的容器
Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endp ...
分类:其他好文   时间:2019-04-05 09:22:42    阅读次数:165
2271条   上一页 1 ... 14 15 16 17 18 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!