leetcode学习笔记
ly0811010107
这个作者很懒,什么都没留下…
展开
-
leetcode学习笔记:Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo原创 2014-05-17 13:16:08 · 472 阅读 · 0 评论 -
leetcode笔记:Largest Rectangle in Histogram
Largest Rectangle in Histogram Total Accepted: 8795 Total Submissions: 42970My Submissions Given n non-negative integers representing the histogram's bar height where the width of each ba原创 2014-05-17 13:00:49 · 825 阅读 · 0 评论 -
leetcode学习笔记:Trapping Rain Water
Trapping Rain Water Total Accepted: 8785 Total Submissions: 31229My Submissions Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how m原创 2014-05-16 22:32:47 · 483 阅读 · 0 评论 -
leetcode学习笔记:Combinations & Subsets
Combinations Total Accepted: 11571 Total Submissions: 38453My Submissions Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4原创 2014-05-20 21:45:31 · 733 阅读 · 0 评论