码迷,mamicode.com
首页 >  
搜索关键字:digit recongnizer    ( 1477个结果
258. Add Digits
题目:Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3...
分类:其他好文   时间:2015-12-03 07:11:38    阅读次数:145
正则表达式(grep命令下的匹配)
基本正则表达式:REGularEXPression(REGEXP)一、元字符:.:匹配任意单个字符;[]:匹配指定范围内的任意单个字符;[^]:匹配指定范围外的任意单个字符。PS:常用字符集合[:digit:]——数字集合[:lower:]——小写字母集合[:upper:]——大写字母集合[:space:]——空格[:alpha:..
分类:其他好文   时间:2015-12-02 18:52:01    阅读次数:126
233. Number of Digit One
题目: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,Retur...
分类:其他好文   时间:2015-11-28 12:01:13    阅读次数:129
Add Digits
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:其他好文   时间:2015-11-28 11:50:50    阅读次数:125
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 at...
分类:其他好文   时间:2015-11-27 23:35:14    阅读次数:174
[Leetcode] Letter Combinations of a Phone Number
问题:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telep...
分类:其他好文   时间:2015-11-27 14:57:24    阅读次数:158
leetcode 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 at...
分类:其他好文   时间:2015-11-26 14:43:22    阅读次数:120
LeetCode题目1 - Reverse Integer
Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321Discuss: 1.If the integer's last digit is 0, what should the ...
分类:其他好文   时间:2015-11-24 22:01:04    阅读次数:112
[LeetCode]Add Digits
题目描述:(链接)Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is ...
分类:其他好文   时间:2015-11-20 12:19:27    阅读次数:154
[Lintcode] Add Two Numbers I && II
Add Two NumbersYou have two numbers represented by a linked list, where each node contains a single digit. The digits are stored inreverseorder, such ...
分类:其他好文   时间:2015-11-17 12:52:20    阅读次数:180
1477条   上一页 1 ... 73 74 75 76 77 ... 148 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!