摘要: 3 Longest Substring Without Repeating Characters 问题描述 Given a string, find the length of the longest substring without repeating characters. Example 1 阅读全文
posted @ 2020-03-22 19:14 Lyu1997 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 16 3Sum Closest 问题描述 Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Retu 阅读全文
posted @ 2020-03-22 18:15 Lyu1997 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 11 Container With Most Water 问题描述 Given n non negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical line 阅读全文
posted @ 2020-03-22 16:43 Lyu1997 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 836 Rectangle Overlap 问题描述 A rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) are the coordinates of its bottom left corner, and (x 阅读全文
posted @ 2020-03-22 16:09 Lyu1997 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 300 Longest Increasing Subsequence 问题描述 Given an unsorted array of integers, find the length of longest increasing subsequence. Input: [10,9,2,5,3,7,1 阅读全文
posted @ 2020-03-22 15:43 Lyu1997 阅读(131) 评论(0) 推荐(0) 编辑