TongTong Shi's Blog
A Playground to Share My Knowledge
Find the Difference Find the Difference
LeetCode Q 389 - Find the DifferenceGiven two strings s and t which consist of only lowercase letters.String t is genera
2019-04-21 Tong Shi
First Unique Character in a String First Unique Character in a String
LeetCode Q 387 - First Unique Character in a StringGiven a string, find the first non-repeating character in it and retu
2019-04-21 Tong Shi
Design Twitter Design Twitter
LeetCode Q 355 - Design TwitterDesign a simplified version of Twitter where users can post tweets, follow/unfollow anoth
2019-04-21 Tong Shi
Find All Anagrams in a String Find All Anagrams in a String
LeetCode Q 438 - Find All Anagrams in a StringGiven a string s and a non-empty string p, find all the start indices of p
2019-04-21 Tong Shi
Longest Substring with At Most K Distinct Characters Longest Substring with At Most K Distinct Characters
LeetCode Q 386 - Longest Substring with At Most K Distinct CharactersGiven a string S, find the length of the longest su
2019-04-20 Tong Shi
Top K Frequent Elements Top K Frequent Elements
LeetCode Q 347 - Top K Frequent ElementsGiven a non-empty array of integers, return the k most frequent elements. Exampl
2019-04-20 Tong Shi
62 / 79