Among grandfather's papers a bill was found. 72 turkeys $_679_ The first and the last digits of the number that obviously represented the total price ...
分类:
其他好文 时间:
2018-10-02 17:18:35
阅读次数:
114
The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the ...
分类:
其他好文 时间:
2018-10-01 17:55:47
阅读次数:
180
题目 Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored such that the most significan ...
分类:
其他好文 时间:
2018-10-01 11:56:00
阅读次数:
238
Description: Given a 32-bit signed integer, reverse digits of an integer. Note: Assume we are dealing with an environment which could only store integ ...
分类:
其他好文 时间:
2018-09-27 01:37:06
阅读次数:
162
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2018-09-25 16:11:22
阅读次数:
163
Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n. Example: Input: 2 Output: 91 Explanation: The answer shoul ...
分类:
其他好文 时间:
2018-09-25 01:31:19
阅读次数:
174
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: IP address is consist of 4 parts w ...
分类:
其他好文 时间:
2018-09-23 11:31:47
阅读次数:
148
Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. A mapping of digit to le ...
分类:
其他好文 时间:
2018-09-22 15:13:26
阅读次数:
132
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:
其他好文 时间:
2018-09-22 10:32:40
阅读次数:
133
For a decimal number x with n digits (A nA n-1A n-2 ... A 2A 1), we define its weight as F(x) = A n * 2 n-1 + A n-1 * 2 n-2 + ... + A 2 * 2 + A 1 * 1. ...
分类:
其他好文 时间:
2018-09-22 01:05:04
阅读次数:
262