码迷,mamicode.com
首页 >  
搜索关键字:non-negative    ( 2271个结果
179. Largest Number
题目: Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest form ...
分类:其他好文   时间:2017-06-21 21:15:58    阅读次数:197
leetcode-486-Predict the Winner
Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t ...
分类:Windows程序   时间:2017-06-21 15:59:09    阅读次数:293
[leetcode-494-Target Sum]
You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and -. For each integer, you should choose o ...
分类:其他好文   时间:2017-06-20 22:21:07    阅读次数:269
[LeetCode] Valid Triangle Number 合法的三角形个数
Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we tak ...
分类:其他好文   时间:2017-06-20 14:57:01    阅读次数:136
[LeetCode] 55. Jump Game Java
题目: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your m ...
分类:编程语言   时间:2017-06-20 12:31:29    阅读次数:155
【Leetcode】2. Add Two Numbers
Problem: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nod ...
分类:其他好文   时间:2017-06-16 22:02:04    阅读次数:133
[LeetCode] Jump Game II
Jump Game II Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represen ...
分类:其他好文   时间:2017-06-14 17:14:32    阅读次数:132
leetcode笔记
leetcode 笔记 Linked List 2. Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in r ...
分类:其他好文   时间:2017-06-12 23:52:18    阅读次数:276
[leetcode-611-Valid Triangle Number]
Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we tak ...
分类:其他好文   时间:2017-06-11 13:45:57    阅读次数:275
357. Count Numbers with Unique Digits
题目: Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example:Given n = 2, return 91. (The answer should be ...
分类:其他好文   时间:2017-06-11 11:27:04    阅读次数:106
2271条   上一页 1 ... 62 63 64 65 66 ... 228 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!