摘要:
原题地址:https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/题意:Given a binary tree, find its maximum depth.The maximum depth is the number of n... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/text-justification/题意:Given an array of words and a lengthL, format the text such that each line has exactlyLcha... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/insert-interval/题意:Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if ne... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/merge-intervals/题意:Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6]... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/maximum-subarray/题意:Find the contiguous subarray within an array (containing at least one number) which has the ... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given an array of non-negative integers, you are initially positioned at the first index of the ... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given an array of non-negative integers, you are initially positioned at the first index of the arr... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/wildcard-matching/题意:Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single charac... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/regular-expression-matching/题意:Implement regular expression matching with support for'.'and'*'.'.' Matches any s... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/multiply-strings/题意:Given two numbers represented as strings, return multiplication of the numbers as a string.N... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/trapping-rain-water/题意:Givennnon-negative integers representing an elevation map where the width of each bar is ... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/count-and-say/题意:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 11... 阅读全文