TongTong Shi's Blog
A Playground to Share My Knowledge
Different Ways to Add Parentheses Different Ways to Add Parentheses
LeetCode Q 241 - Different Ways to Add ParenthesesGiven a string of numbers and operators, return all possible results f
2019-04-28 Tong Shi
Palindrome Partitioning Palindrome Partitioning
LeetCode Q 131 - Palindrome PartitioningGiven a string s, partition s such that every substring of the partition is a pa
2019-04-28 Tong Shi
Restore IP Addresses Restore IP Addresses
LeetCode Q 93 - Restore IP AddressesGiven a string containing only digits, restore it by returning all possible valid IP
2019-04-28 Tong Shi
Permutation in String Permutation in String
LeetCode Q 567 - Permutation in StringGiven two strings s1 and s2, write a function to return true if s2 contains the pe
2019-04-26 Tong Shi
Max Consecutive Ones III Max Consecutive Ones III
LeetCode Q 1004 - Max Consecutive Ones IIIGiven an array A of 0s and 1s, we may change up to K values from 0 to 1. Retur
2019-04-26 Tong Shi
Longest Repeating Character Replacement Longest Repeating Character Replacement
LeetCode Q 424 - Longest Repeating Character ReplacementGiven a string that consists of only uppercase English letters,
2019-04-26 Tong Shi
53 / 79