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
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
题目: Given an array, rotate the array to the right by k steps, where k is non-negative. 给定一个数组,将数组向右旋转k步,其中k为非负数。 Example 1: Example 2: Note: Try to co ...
分类:
其他好文 时间:
2018-09-21 10:58:33
阅读次数:
158
Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Example 2: 与189. Rotate Array 类似,但链表不能通过index来访问,要一 ...
分类:
其他好文 时间:
2018-09-21 10:56:37
阅读次数:
161
84. Largest Rectangle in Histogram https://www.youtube.com/watch?v=KkJrGxuQtYo&t=129s Given n non-negative integers representing the histogram's bar h... ...
分类:
其他好文 时间:
2018-09-20 18:49:24
阅读次数:
134
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num ...
分类:
其他好文 时间:
2018-09-20 11:08:46
阅读次数:
177
55. Jump Game Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represe ...
分类:
其他好文 时间:
2018-09-19 21:42:23
阅读次数:
152
一、什么是压缩感知(CS)? compressed sensing又称compressed sampling,CS是一个针对信号采样的技术,它通过一些手段,实现了“压缩的采样”,准确说是在采样过程中完成了数据压缩的过程。 因此我们首先要从信号采样讲起: 1. 我们知道,将模拟信号转换为计算机能够处理 ...
分类:
其他好文 时间:
2018-09-16 15:42:52
阅读次数:
182
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