TongTong Shi's Blog
A Playground to Share My Knowledge
Binary Tree Inorder Traversal Binary Tree Inorder Traversal
LeetCode Q 94 - Binary Tree Inorder TraversalGiven a binary tree, return the inorder traversal of its nodes’ values. Fol
2019-04-19 Tong Shi
Minimum Window Substring Minimum Window Substring
LeetCode Q 76 - Minimum Window SubstringGiven a string S and a string T, find the minimum window in S which will contain
2019-04-19 Tong Shi
leetcodeQ187 leetcodeQ187
LeetCode Q 187 - Repeated DNA SequencesAll DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for
2019-04-19 Tong Shi
Happy Number Happy Number
LeetCode Q 202 - Happy NumberWrite an algorithm to determine if a number is “happy”. A happy number is a number defined
2019-04-19 Tong Shi
Count Primes Count Primes
LeetCode Q 204 - Count PrimesCount the number of prime numbers less than a non-negative number, n.Example:Input: 10 ; Ou
2019-04-19 Tong Shi
Sentence Similarity Sentence Similarity
LintCode Q 856 - Sentence SimilarityGiven two sentences words1, words2 (each represented as an array of strings), and a
2019-04-19 Tong Shi
64 / 79