Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may re ...
分类:
编程语言 时间:
2018-09-16 15:28:45
阅读次数:
272
题目链接 https://leetcode.com/problems/add two numbers/description/ 题目描述 You are given two non empty linked lists representing two non negative integers. ...
分类:
其他好文 时间:
2018-09-13 14:25:06
阅读次数:
186
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given1->2->3->4->5->NULLand k =2,return4->5->1->2->3->NUL ...
分类:
其他好文 时间:
2018-09-13 01:17:29
阅读次数:
179
Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a ...
分类:
其他好文 时间:
2018-09-11 23:51:29
阅读次数:
203
2. Add Two Numbers You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of ...
分类:
其他好文 时间:
2018-09-07 15:56:30
阅读次数:
152
66. Plus One 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 ...
分类:
其他好文 时间:
2018-09-06 23:52:54
阅读次数:
242
66、Plus One 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 s ...
分类:
其他好文 时间:
2018-09-06 02:51:35
阅读次数:
127
[抄题]: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空 ...
分类:
其他好文 时间:
2018-09-05 08:58:49
阅读次数:
149
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 significant d ...
分类:
其他好文 时间:
2018-09-02 18:54:04
阅读次数:
191
【600】 Non-negative Integers without Consecutive Ones 【629】 K Inverse Pairs Array 【638】 Shopping Offers 【639】 Decode Ways II 【646】 Maximum Length of Pa ...
分类:
其他好文 时间:
2018-08-31 21:14:32
阅读次数:
163