TongTong Shi's Blog
A Playground to Share My Knowledge
Maximum Subarray Maximum Subarray
LeetCode Q 53 - Maximum SubarrayGiven an integer array nums, find the contiguous subarray (containing at least one numbe
2019-04-22 Tong Shi
Longest Valid Parentheses Longest Valid Parentheses
LeetCode Q 32 - Longest Valid ParenthesesGiven a string containing just the characters ‘(‘ and ‘)’, find the length of t
2019-04-22 Tong Shi
Regular Expression Matching Regular Expression Matching
LeetCode Q 10 - Regular Expression MatchingGiven an input string (s) and a pattern (p), implement regular expression mat
2019-04-22 Tong Shi
Longest Palindromic Substring Longest Palindromic Substring
LeetCode Q 5 - Longest Palindromic SubstringGiven a string s, find the longest palindromic substring in s. You may assum
2019-04-22 Tong Shi
Sort Characters By Frequency Sort Characters By Frequency
LeetCode Q 451 - Sort Characters By FrequencyGiven a string, sort it in decreasing order based on the frequency of chara
2019-04-21 Tong Shi
Longest Palindrome Longest Palindrome
LeetCode Q 409 - Longest PalindromeGiven a string which consists of lowercase or uppercase letters, find the length of t
2019-04-21 Tong Shi
61 / 79