代码改变世界

随笔分类 -  LeetCode

LeetCode刷题之Median of Two Sorted Arrays

2015-01-08 11:37 by 雪夜&流星, 245 阅读, 收藏, 编辑
摘要: problem: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 sh... 阅读全文

LeetCode刷题之Two Sum

2015-01-06 17:17 by 雪夜&流星, 156 阅读, 收藏, 编辑
摘要: Problem: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 th... 阅读全文
点击右上角即可分享
微信分享提示