描述
Wangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.
Wangpeng can’t write the digit directly. So he comes up a way that drawi...
分类:
其他好文 时间:
2015-05-29 11:59:36
阅读次数:
110
问题
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 th...
分类:
其他好文 时间:
2015-05-29 10:08:13
阅读次数:
115
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-05-27 21:10:51
阅读次数:
137
Rightmost Digit
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 87 Accepted Submission(s) : 38
Font: Times New Roman | Verdana |
Georgia ...
分类:
Web程序 时间:
2015-05-27 10:14:50
阅读次数:
153
/*
* Copyright (c) 2014, 烟台大学计算机学院
* All rights reserved.
* 文件名称:test.cpp
* 作 者:李晓凯
* 完成日期:2015年 5 月 24 日
* 版 本 号:v1.0
*
* 问题描述:
* 输入描述:
* 程序输出:
*/
Problem Descriptio...
分类:
Web程序 时间:
2015-05-25 10:09:29
阅读次数:
243
题目: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-05-22 14:55:29
阅读次数:
135
leetcode 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 digit. Add t...
分类:
其他好文 时间:
2015-05-20 16:22:34
阅读次数:
110
这本是careerup的一道题,看到了以后自己做了一下,主要的难点就是加法里面的进位。直接上代码: 1 int add(int a, int b) 2 { 3 const int bitsize = sizeof(int) * 8; 4 int digit[bitsize] = {...
分类:
编程语言 时间:
2015-05-19 20:39:23
阅读次数:
144
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 l...
分类:
其他好文 时间:
2015-05-18 21:18:42
阅读次数:
106
题目描述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...
分类:
其他好文 时间:
2015-05-18 18:57:11
阅读次数:
119