Hash-map from value to index [mp]
Micro pattern¶
Problems¶
- 1. Two Sum (Top Easy)
- 3. Longest Substring Without Repeating Characters (Top Medium)
- 105. Construct Binary Tree from Preorder and Inorder Traversal (Top Medium)
- 166. Fraction to Recurring Decimal (Top Medium)
- 380. Insert Delete GetRandom O(1) (Top Medium)