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 digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2015-02-07 09:08:17
阅读次数:
165
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2015-02-06 11:12:30
阅读次数:
95
Count the number of k's between 0 and n. k can be 0 - 9.Exampleif n=12, in [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], we have FIVE 1's (1, 10, 11, 12...
分类:
其他好文 时间:
2015-02-05 13:22:53
阅读次数:
127
---恢复内容开始---标题:Letter Combinations of a Phone Number通过率:26.6%难度:中等Given a digit string, return all possible letter combinations that the number could ...
分类:
其他好文 时间:
2015-02-05 13:00:15
阅读次数:
173
在写题解之前给自己打一下广告哈~。。抱歉了,希望大家多多支持我在CSDN的视频课程,地址如下:http://edu.csdn.net/course/detail/209题目:Last non-zero Digit in N!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Su...
分类:
其他好文 时间:
2015-02-05 11:16:02
阅读次数:
137
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 at...
分类:
其他好文 时间:
2015-02-04 21:39:11
阅读次数:
115
A^B Problem
时间限制:1000 ms | 内存限制:65535 KB
难度:2
描述Give you two numbers a and b,how to know the a^b's the last digit number.It looks so easy,but everybody is too lazy to slove this problem...
分类:
其他好文 时间:
2015-02-04 16:49:28
阅读次数:
141
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat...
分类:
其他好文 时间:
2015-02-04 16:10:53
阅读次数:
149
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher...
分类:
其他好文 时间:
2015-02-04 15:55:54
阅读次数:
165
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2015-02-04 09:32:52
阅读次数:
189