要写甲级题,首要任务是解决英文这个大难题。 困难词汇(我不认识的):calculate计算 standard format 标准格式 digits数字 separated 分离 commas逗号 这道题的大致意思是,给出两个数a和b,并且a和b都大于等于-10的6次方小于等于10的6次方,求出a和b ...
分类:
其他好文 时间:
2018-11-12 21:21:58
阅读次数:
190
Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:
其他好文 时间:
2018-11-05 16:18:38
阅读次数:
112
Given a string S of digits, such as S = "123456579", we can split it into a Fibonacci like sequence [123, 456, 579]. Formally, a Fibonacci like sequen ...
分类:
其他好文 时间:
2018-11-05 16:13:20
阅读次数:
142
题目链接:https://leetcode.com/problems/reverse-integer/description/ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Out ...
分类:
其他好文 时间:
2018-11-05 11:36:24
阅读次数:
95
https://leetcode.com/problems/reverse-integer/description/ Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example ...
分类:
其他好文 时间:
2018-11-02 23:59:48
阅读次数:
309
Consider a positive integer N written in standard notation with k+1 digits a?i?? as a?k???a?1??a?0?? with 0≤a?i??<10for all i and a?k??>0. Then N is p ...
分类:
其他好文 时间:
2018-11-01 16:07:47
阅读次数:
160
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: Input: 38 Output: 2 Explanation: The pro ...
分类:
编程语言 时间:
2018-10-31 13:58:54
阅读次数:
152
There is a box protected by a password. The password is n digits, where each letter can be one of the first k digits 0, 1, ..., k 1. You can keep inpu ...
分类:
其他好文 时间:
2018-10-31 12:41:00
阅读次数:
181
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-10-27 15:22:19
阅读次数:
117
X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit must be rotate ...
分类:
其他好文 时间:
2018-10-25 00:17:13
阅读次数:
187