摘要:
题目 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: 阅读全文
摘要:
题目 Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Exa 阅读全文
摘要:
题目 Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: 阅读全文
摘要:
题目 Given a 32 bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: 123 Output: 321 Example 3: Input: 阅读全文
摘要:
题目 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 阅读全文