码迷,mamicode.com
首页 >  
搜索关键字:merge k sorted lists    ( 11722个结果
[leetcode] Median of Two Sorted Arrays
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:其他好文   时间:2014-06-27 13:03:49    阅读次数:136
[leetcode] Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-06-27 12:30:39    阅读次数:204
[leetcode] Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
分类:其他好文   时间:2014-06-27 12:30:03    阅读次数:200
[leetcode] Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
分类:其他好文   时间:2014-06-27 12:29:18    阅读次数:294
[leetcode] Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2014-06-27 12:21:24    阅读次数:215
[leetcode] Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
分类:其他好文   时间:2014-06-27 12:11:09    阅读次数:181
[leetcode] Merge Intervals
Given a collection of intervals, merge all overlapping intervals.
分类:其他好文   时间:2014-06-27 11:59:41    阅读次数:169
LeetCode OJ - Median of Two Sorted Arrays
题目:There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should ...
分类:其他好文   时间:2014-06-27 11:55:43    阅读次数:187
【Leetcode】Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target value to search. If found in the array retur...
分类:其他好文   时间:2014-06-26 13:58:53    阅读次数:203
【JAVA】merge two array by order
merge two array by order...
分类:编程语言   时间:2014-06-26 08:16:05    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!