LeetCode – 20. Valid Parentheses
Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the inpu…
LeetCode – 14. Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings. 没啥难度,不多说了 pub…
LeetCode – 9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. 这道题其实挺没意思的,不能用extra space…
LeetCode – 205. Isomorphic Strings
Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the chara…
LeetCode – 73. Set Matrix Zeroes
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow…
LeetCode – 266. Palindrome Permutation
Given a string, determine if a permutation of the string could form a palindrome. For example, “code…
LeetCode – 387. First Unique Character in a String
Given a string, find the first non-repeating character in it and return it’s index. If it does…