码迷,mamicode.com
首页 >  
搜索关键字:median of two sor    ( 12209个结果
4.Median of Two Sorted Arrays
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
Two Sum
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
[LeetCode] 583. Delete Operation for Two Strings
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
183.Customers Who Never Order
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
77. Combinations
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
002. Add Two Numbers
题目链接: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
HDU - 5876 :Sparse Graph (完全图的补图的最短路 -BFS&set)
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
es6和es5中的this指向
先看一段代码: 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
CF1000G Two-Paths
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
【sql】leetcode习题 (共 42 题)
https://leetcode.com/problemset/database/ ...
分类:数据库   时间:2018-11-03 21:08:33    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!