摘要:
原题地址:https://oj.leetcode.com/problems/longest-valid-parentheses/题意:Given a string containing just the characters'('and')', find the length of the long... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/next-permutation/题意:Implement next permutation, which rearranges numbers into the lexicographically next greater... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/substring-with-concatenation-of-all-words/题意:You are given a string,S, and a list of words,L, that are all of th... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/remove-element/题意:Given an array and a value, remove all instances of that value in place and return the new len... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array/题意:Given a sorted array, remove the duplicates in place such that each eleme... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/generate-parentheses/题意:Givennpairs of parentheses, write a function to generate all combinations of well-formed... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/valid-parentheses/题意:Given a string containing just the characters'(',')','{','}','['and']', determine if the in... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/题意:Given a digit string, return all possible letter combinations that the ... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/longest-common-prefix/题意:Write a function to find the longest common prefix string amongst an array of strings.解... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/roman-to-integer/题意:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range f... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/integer-to-roman/题意:Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range f... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordina... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine whether an integer is a palindrome. Do this without extra space.click to show spo... 阅读全文
摘要:
原题地址:https://oj.leetcode.com/problems/divide-two-integers/题意:Divide two integers without using multiplication, division and mod operator.解题思路:不许用乘、除和求... 阅读全文