2014年12月28日

LeetCode 2.Median of Two Sorted Arrays

摘要: Median of Two Sorted ArraysThere are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run... 阅读全文

posted @ 2014-12-28 18:36 kyokuhuang 阅读(194) 评论(0) 推荐(0) 编辑

LeetCode 1.Two Sum

摘要: Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the... 阅读全文

posted @ 2014-12-28 18:35 kyokuhuang 阅读(102) 评论(0) 推荐(0) 编辑

导航