There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:
其他好文 时间:
2018-11-06 01:01:10
阅读次数:
207
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:
其他好文 时间:
2018-11-05 22:24:22
阅读次数:
176
Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same, where in each step you can delete one cha ...
分类:
其他好文 时间:
2018-11-05 21:28:13
阅读次数:
142
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything ...
分类:
其他好文 时间:
2018-11-05 16:23:20
阅读次数:
158
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: Input: n = 4, k = 2 Output: [ [2,4], [3,4], [2,3], ...
分类:
其他好文 时间:
2018-11-05 16:22:34
阅读次数:
130
题目链接:https://leetcode.com/problems/add-two-numbers/description/ Example: Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) Output: 7 -> 0 -> 8 Explanation: 342 + 4 ...
分类:
其他好文 时间:
2018-11-05 00:06:10
阅读次数:
174
In graph theory, the complement of a graph G is a graph H on the same vertices such that two distinct vertices of H are adjacent if and only if they a ...
分类:
其他好文 时间:
2018-11-04 21:03:05
阅读次数:
157
先看一段代码: var name = "window";var obj = { name: 'obj', //普通函数 one: function(){ console.log(this.name) }, //箭头函数 two: ()=> { console.log(this.name) }, // ...
分类:
其他好文 时间:
2018-11-04 15:40:27
阅读次数:
161
G. Two-Paths time limit per test 3.5 seconds memory limit per test 256 megabytes input standard input output standard output G. Two-Paths time limit p ...
分类:
其他好文 时间:
2018-11-04 14:02:12
阅读次数:
152
https://leetcode.com/problemset/database/ ...
分类:
数据库 时间:
2018-11-03 21:08:33
阅读次数:
312