Insert Interval
Given a set of non-overlapping intervals,
insert a new interval into the intervals (merge if necessary).
You may assume that the intervals were initially sorted according to t...
分类:
其他好文 时间:
2014-09-15 17:51:09
阅读次数:
264
题目: Each of the following two procedures defines a method for adding two positive integers in terms of the procedures inc, which increments its argum....
分类:
其他好文 时间:
2014-09-15 17:19:29
阅读次数:
156
题目: There are two sorted arrays A and B of size m and n respectively.Find the Median of two sorted arrays.The overall run time complexity should be O(...
分类:
其他好文 时间:
2014-09-15 14:19:58
阅读次数:
170
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-09-15 12:41:48
阅读次数:
133
[leetcode]Remove Duplicates from Sorted List...
分类:
其他好文 时间:
2014-09-15 11:23:08
阅读次数:
126
[leetcode]Remove Duplicates from Sorted List II...
分类:
其他好文 时间:
2014-09-15 11:22:01
阅读次数:
192
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2...
分类:
编程语言 时间:
2014-09-15 06:38:18
阅读次数:
200
Problem Description
There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules:
● ai ∈ [0,n]
● ai ≠ aj( i ≠ j )
For sequence a and sequence b,...
分类:
其他好文 时间:
2014-09-15 01:06:27
阅读次数:
175
/* * ===================================================================================== * * Filename: min_two_selector.cpp * * Descriptio...
分类:
其他好文 时间:
2014-09-15 01:03:38
阅读次数:
190
Merge Two Sorted Lists:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the fi...
分类:
编程语言 时间:
2014-09-15 01:02:17
阅读次数:
269