TongTong Shi's Blog
A Playground to Share My Knowledge
Concated Words Concated Words
LeetCode Q 472 - Concated WordsGiven a list of words (without duplicates), please write a program that returns all conca
2019-04-18 Tong Shi
Fraction to Recurring Decimal Fraction to Recurring Decimal
LeetCode Q 166 - Fraction to Recurring DecimalGiven two integers representing the numerator and denominator of a fractio
2019-04-18 Tong Shi
Group Anagrams Group Anagrams
LeetCode Q 49 - Group AnagramsGiven an array of strings, group anagrams together. SolutionKey point is how to identify
2019-04-18 Tong Shi
Valid Sudoku Valid Sudoku
LeetCode Q 36 - Valid SudokuDetermine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated accordi
2019-04-18 Tong Shi
Soduku Solver Soduku Solver
LeetCode Q 37 - Soduku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must
2019-04-18 Tong Shi
Insert Delete GetRandom O(1) Insert Delete GetRandom O(1)
LeetCode Q 380 - Insert Delete GetRandom O(1)Design a data structure that supports all following operations in average O
2019-04-17 Tong Shi
66 / 79