- 博客(5)
- 收藏
- 关注
原创 leetcode习题解答:11. Container With Most Water
难度: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 the two endpoints of line i is at (
2017-10-26 13:21:33 156
原创 leetcode习题解答:5. Longest Palindromic Substring
难度:Medium 链接 描述: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Input: "babad" Output: "bab" Note: "aba" is a
2017-10-25 00:15:35 98
原创 Leetcode习题:1. 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 have exactly one solution, and
2017-10-19 12:17:33 163
原创 leetcode问题解答: 22. Generate Parentheses
难度:MEdium 链接:点击打开链接 描述: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ "((()))",
2017-10-19 00:29:50 128
原创 Leetcode习题解答:31. Next Permutation
难度:medium 原链接 描述 Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange i
2017-10-12 13:49:10 161
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人