- 博客(2)
- 收藏
- 关注
原创 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 O(log (m+n)). 初看到这一题的思路是按照插入排序的思路将两个已经排好序的
2015-03-07 09:27:29 323
原创 Leetcode--Two Sum
Given 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 two numbers such that they add up to the target, whe
2015-03-05 20:19:30 259
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人