1.题目描述 Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any ...
分类:
其他好文 时间:
2018-02-07 00:49:00
阅读次数:
129
lc 746 Min Cost Climbing Stairs [746 Min Cost Climbing Stairs][1] On a staircase, the step has some non negative cost assigned (0 indexed). Once you p ...
分类:
其他好文 时间:
2018-02-05 21:45:20
阅读次数:
156
1.题目描述 mplement int sqrt(int x). Compute and return the square root of x. x is guaranteed to be a non-negative integer. 求开方,输出为整数型 2.题目分析 python自带sqrt ...
分类:
其他好文 时间:
2018-02-03 23:17:41
阅读次数:
353
Plus One 题解 题目来源:https://leetcode.com/problems/plus one/description/ Description Given a non negative integer represented as a non empty array of digi ...
分类:
其他好文 时间:
2018-02-03 16:19:07
阅读次数:
134
Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" first if it is negative. For exam ...
分类:
其他好文 时间:
2018-02-03 16:02:50
阅读次数:
107
You are given a non-negative integer n, its decimal representation consists of at most 100 digits and doesn't contain leading zeroes. Your task is to ...
分类:
其他好文 时间:
2018-02-02 18:30:16
阅读次数:
195
Don't undermine your worth by comparing yourself with others. 别拿自己和他人比较,这只会降低你原有的价值。 Honestly, I don't think it is merely negative to compare ourselve ...
分类:
其他好文 时间:
2018-02-02 14:32:12
阅读次数:
153
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:
其他好文 时间:
2018-01-31 11:19:43
阅读次数:
119
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: 题意:给定以字符串形式表示的两个非负整数num1和num2,返回这两个整数的和。No ...
分类:
其他好文 时间:
2018-01-31 01:08:14
阅读次数:
182
Container With Most Water 题解 题目来源:https://leetcode.com/problems/container with most water/description/ Description Given n non negative integers a1, a ...
分类:
其他好文 时间:
2018-01-30 17:00:25
阅读次数:
127