题目: 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
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 ...
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
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
题目: 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
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
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 笔记 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
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
题目: 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