码迷,mamicode.com
首页 >  
搜索关键字:digit recongnizer    ( 1477个结果
codeforce Present from Lena 打印菱形
Vasya's birthday is approaching and Lena decided to sew a patterned handkerchief to him as a present. Lena chose digits from 0 to n as the pattern. The digits will form a rhombus. The largest digit ...
分类:其他好文   时间:2014-07-22 23:04:32    阅读次数:412
LeetCode: plusOne 题解
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...
分类:其他好文   时间:2014-05-04 19:46:18    阅读次数:372
基数排序
时间复杂度 O(d*n),d 为不同数字数目,n 为待排元素个数。分为: MSD(most significant digit) 和 LSD(least significant digit)两种方法。MSD:从最高级别的 key 开始排序,每趟排序将所有元素分成 d 堆。LSD: 从最低级别的 k...
分类:其他好文   时间:2014-05-03 22:41:16    阅读次数:418
欧拉计划16-20题
16、Power digit sum215= 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 21000?题目大意:215= 32768 并且其...
分类:其他好文   时间:2014-05-02 13:17:49    阅读次数:1223
leetcode__Add Two Numbers && Climbing Stairs
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...
分类:其他好文   时间:2014-05-01 22:08:19    阅读次数:366
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 telephon...
分类:其他好文   时间:2014-04-30 03:52:56    阅读次数:411
Timus 1104. Don’t Ask Woman about Her Age题解
Mrs Little likes digits most of all. Every year she tries to make the best number of the year. She tries to become more and more intelligent and every year studies a new digit. And the number she make...
分类:其他好文   时间:2014-04-29 13:13:21    阅读次数:309
1477条   上一页 1 ... 146 147 148
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!