2015年3月11日

leetcode:Longest Consecutive Sequence

摘要: 题目要求:Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The lon... 阅读全文

posted @ 2015-03-11 21:31 Charles晟 阅读(151) 评论(0) 推荐(0)

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 shoul... 阅读全文

posted @ 2015-03-11 20:51 Charles晟 阅读(115) 评论(0) 推荐(0)

导航