TongTong Shi's Blog
A Playground to Share My Knowledge
Convert Sorted Array to Binary Search Tree Convert Sorted Array to Binary Search Tree
LeetCode Q 108 - Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order,
2019-08-09 Tong Shi
Stone Game II Stone Game II
LeetCode Q 1140 - Stone Game IIAlex and Lee continue their games with piles of stones. There are a number of piles arra
2019-08-09 Tong Shi
Largest 1-Bordered Square Largest 1-Bordered Square
LeetCode Q 1139 - Largest 1-Bordered SquareGiven a 2D grid of 0s and 1s, return the number of elements in the largest sq
2019-08-09 Tong Shi
Alphabet Board Path Alphabet Board Path
LeetCode Q 1138 - Alphabet Board PathOn an alphabet board, we start at position (0, 0), corresponding to character board
2019-08-09 Tong Shi
Valid Parenthesis String Valid Parenthesis String
LeetCode Q 678 - Valid Parenthesis StringGiven a string containing only three types of characters: '(', ')&#
2019-08-09 Tong Shi
Encode important configuration information with DES Encode important configuration information with DES
In some projects, we exposed our username and password of mySql in file .properties, which is not safe. To solve this is
2019-08-08 Tong Shi
5 / 79