2018年1月7日

LeetCode第[11]题(Java):Container With Most Water (数组容器盛水)——Medium

摘要: 题目难度:Medium Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that t 阅读全文

posted @ 2018-01-07 22:58 清风吹斜阳 阅读(576) 评论(0) 推荐(0) 编辑

LeetCode第[4]题(Java):Median of Two Sorted Arrays (俩已排序数组求中位数)——HARD

摘要: 题目难度:hard There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time com 阅读全文

posted @ 2018-01-07 21:03 清风吹斜阳 阅读(588) 评论(4) 推荐(0) 编辑

导航