Oct. 3, 2018
Introduction
It is time for me to say goodbye to easy level hashtable algorithms. I do need to spend time to review my practice, read more discuss, and improve myself. Most of important is to get organized, share all practice on Leetcode discuss first.
Leetcode discuss
Here is the algorithms I shared on Leetcode discuss.
Hashtable easy level algorithm (solved 25, shared 21)
1. Two Sum
136. Single Number using XOR (1 upvote)
204. Count Primes verbose code
204. Count Primes elegant version
205. Isomorphic Strings
219. Contains Duplicate II
242. Valid Anagram One more mistake to remind me to work on easy level
290. Word Pattern
350. Intersection of Two Arrays II
389. Find the Difference using XOR
409. Longest Palindrome
438. Find All Anagrams in a String
447. Number of Boomerangs
463. Island Perimeter
500. Keyboard Row do it myself
500. Keyboard Row use HashSet API IsSubsetOf
575. Distribute Candies Need to work on my reading skills
594. Longest Harmonious Subsequence
599. Minimum Index Sum of Two Lists
645. Set Mismatch first submission - XOR
645. Set Mismatch elegant one using XOR two places
645. Set Mismatch use bit manipulation trick
705. Design HashSet
706. Design HashMap Use fix size of space determined by upper bound
720. Longest Word in Dictionary use hashset
720. Longest Word in Dictionary use Trie data structure
720. Longest Word in Dictionary use Trie data structure
720. Longest Word in Dictionary use Queue data structure
720. Longest Word in Dictionary use recursive function
No comments:
Post a Comment