随笔分类 -  刷题笔记

上一页 1 2 3

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 清风吹斜阳 阅读(588) 评论(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 清风吹斜阳 阅读(603) 评论(4) 推荐(0)

LeetCode第[1]题(Java):Two Sum (俩数和为目标数的下标)——EASY
摘要:题目: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would hav 阅读全文

posted @ 2018-01-06 21:08 清风吹斜阳 阅读(2262) 评论(0) 推荐(1)

上一页 1 2 3

导航