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 ...
分类:
其他好文 时间:
2015-09-20 17:43:41
阅读次数:
255
1、题目名称 Plus One(数字加一) 2、题目地址 https://leetcode.com/problems/plus-one 3、题目内容 英文:Given a non-negative number represented as an array of digits, plus one to the number. The digi...
分类:
其他好文 时间:
2015-09-17 23:29:56
阅读次数:
409
位 bit (比特)(Binary Digits):存放一位二进制数,即 0 或 1,最小的存储单位。字节 byte:8个二进制[bit (比特)(Binary Digits)]位为一个字节(B),最常用的单位。1B(byte比特) = 8bit(Binary Digits比特)一般用B,KB,MB...
分类:
其他好文 时间:
2015-09-17 16:50:12
阅读次数:
114
Given a string that contains only digits0-9and a target value, return all possibilities to add operators+,-, or*between the digits so they evaluate to...
分类:
其他好文 时间:
2015-09-16 21:59:22
阅读次数:
478
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:
其他好文 时间:
2015-09-16 17:39:34
阅读次数:
106
packagecom.demo;importjava.security.MessageDigest;publicclassMD5Util {privatestaticfinalString ALGORITHM ="MD5";privatestaticfinalchar[] HEX_DIGITS = ...
分类:
编程语言 时间:
2015-09-16 15:39:53
阅读次数:
178
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 ...
分类:
其他好文 时间:
2015-09-15 18:28:59
阅读次数:
149
Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321Have you thought about this?Here are some good questions to ...
分类:
其他好文 时间:
2015-09-15 12:52:18
阅读次数:
182
Reverse IntegerReverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321若反转的数溢出,直接返回0可以用计算结果来判断溢出,也可以用因数来判断Java代码实现: 1 p...
分类:
其他好文 时间:
2015-09-14 23:58:38
阅读次数:
431
翻译:给你两个表示两个非负数字的链表。数字以相反的顺序存储,其节点包含单个数字。将这两个数字相加并将其作为一个链表返回。输入: (2 -> 4 -> 3) + (5 -> 6 -> 4)
输出: 7 -> 0 -> 8原题:You are given two linked lists representing two non-negative numbers. The digits are stor...
分类:
其他好文 时间:
2015-09-14 22:46:48
阅读次数:
192