码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
[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 ...
分类:其他好文   时间:2015-09-20 17:43:41    阅读次数:255
LeetCode:Plus One - 数字加一
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
[No.00000A]计算机的存储单位
位 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
[LeetCode] Expression Add Operators 表达式增加操作符
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
[LeetCode]Sum Root to Leaf Numbers
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
JAVA MD5加密
packagecom.demo;importjava.security.MessageDigest;publicclassMD5Util {privatestaticfinalString ALGORITHM ="MD5";privatestaticfinalchar[] HEX_DIGITS = ...
分类:编程语言   时间:2015-09-16 15:39:53    阅读次数:178
LeetCode 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 ...
分类:其他好文   时间:2015-09-15 18:28:59    阅读次数:149
leetcode [007] : Reverse Integer
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 Integer - 反转一个int,溢出时返回0
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
LeetCode 2 Add Two Numbers
翻译:给你两个表示两个非负数字的链表。数字以相反的顺序存储,其节点包含单个数字。将这两个数字相加并将其作为一个链表返回。输入: (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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!