TongTong Shi's Blog
A Playground to Share My Knowledge
Remove Duplicate Letters Remove Duplicate Letters
LeetCode Q 361- Remove Duplicate LettersGiven a string which contains only lowercase letters, remove duplicate letters s
2019-07-08 Tong Shi
Smallest Subsequence of Distinct Characters Smallest Subsequence of Distinct Characters
LeetCode Q 1081 - Smallest Subsequence of Distinct CharactersReturn the lexicographically smallest subsequence of text t
2019-07-08 Tong Shi
Smallest Range II Smallest Range II
LeetCode Q 910 - Smallest Range IIGiven an array A of integers, for each integer A[i] we need to choose either x = -K or
2019-07-05 Tong Shi
Smallest Range I Smallest Range I
LeetCode Q 908 - Smallest Range IGiven an array A of integers, for each integer A[i] we may choose any x with -K <= x
2019-07-05 Tong Shi
Minimum Moves to Equal Array Elements II Minimum Moves to Equal Array Elements II
LeetCode Q 462 - Minimum Moves to Equal Array Elements IIGiven a non-empty integer array, find the minimum number of mov
2019-07-05 Tong Shi
Integer Replacement Integer Replacement
LeetCode Q 397 - Integer ReplacementGiven a positive integer n and you can do operations as follow: If n is even, repla
2019-07-05 Tong Shi
15 / 79