https://leetcode.com/problems/integer-to-english-words/ Convert a non-negative integer to its english words representation. Given input is guaranteed ...
分类:
其他好文 时间:
2016-08-12 07:51:25
阅读次数:
164
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. ...
分类:
其他好文 时间:
2016-08-11 12:56:05
阅读次数:
124
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 the ...
分类:
其他好文 时间:
2016-08-10 14:05:34
阅读次数:
129
# 题目 2. Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their ...
Given an array of non-negative integers, you are initially positioned at the first index of the array. Given an array of non-negative integers, you ar ...
分类:
编程语言 时间:
2016-08-08 22:28:52
阅读次数:
205
Question:
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the...
分类:
其他好文 时间:
2016-08-08 15:49:05
阅读次数:
132
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example:Given n = 13,Return ...
分类:
其他好文 时间:
2016-08-07 12:22:10
阅读次数:
123
题意: 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 e ...
分类:
其他好文 时间:
2016-08-06 18:59:55
阅读次数:
192
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- ...
分类:
其他好文 时间:
2016-08-06 08:34:30
阅读次数:
125
问题描述: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after ra ...
分类:
移动开发 时间:
2016-08-05 17:29:00
阅读次数:
234