码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
357. Count Numbers with Unique Digits
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. 给出一个非负整数n,计算出所有没有重复数字的x,其中0≤x<10n。 Example: Given n = 2, r ...
分类:其他好文   时间:2016-07-08 13:26:46    阅读次数:116
91. Decode Ways java solutions
A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t ...
分类:编程语言   时间:2016-06-30 12:46:47    阅读次数:162
[LeetCode] Plus One Linked List 链表加一运算
Given a non-negative number represented as a singly linked list of digits, plus one to the number. The digits are stored such that the most significan ...
分类:其他好文   时间:2016-06-29 13:05:58    阅读次数:148
【Leetcode】Count Numbers with Unique Digits
题目链接:https://leetcode.com/problems/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. (Th...
分类:其他好文   时间:2016-06-29 11:14:05    阅读次数:157
DECIMAL Data Type
In MySQL, DECIMAL(M,D) and NUMERIC(M,D) are the same, and both have a precision of exactly M digits. For example, a DECIMAL(18,9) column has nine digi ...
分类:其他好文   时间:2016-06-27 01:31:01    阅读次数:114
2. Add Two Numbers
Difficulty: Medium You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their node ...
分类:其他好文   时间:2016-06-26 21:13:07    阅读次数:203
Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic ...
分类:其他好文   时间:2016-06-26 11:33:15    阅读次数:111
LeetCode-66-Plus One
Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a ...
分类:其他好文   时间:2016-06-24 23:39:28    阅读次数:190
Leet Code OJ 91. Decode Ways [Difficulty: Medium]
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1 'B' -> 2 ... 'Z' -> 26Given an encoded message containing digits, determine the total number...
分类:其他好文   时间:2016-06-24 14:58:41    阅读次数:192
LeetCode Problem 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 nodes contain a single ...
分类:其他好文   时间:2016-06-24 12:41:43    阅读次数:143
2164条   上一页 1 ... 97 98 99 100 101 ... 217 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!