SOLUTION TO THE LEETCODE PROBLEMS ROADMAP LEVELS Problems 1. Arrays 101 485. Max Consecutive Ones C++ Python 1295. Find Numbers with Even Number of Digits C++ Python 977. Squares of a Sorted Array C++ Python 1089. Duplicate Zeros C++ Python 88. Merge Sorted Array C++ Python 27. Remove Element C++ Python 26. Remove Duplicates from Sorted Array C++ Python 1346. Check If N and Its Double Exist C++ Python 941. Valid Mountain Array C++ Python 1299. Replace Elements with Greatest Element on Right Side C++ Python 283. Move Zeros C++ Python 905. Sort Array By Parity C++ Python 1051. Height Checker C++ Python 414. Third Maximum Number C++ Python 448. Find All Numbers Disappeared in an Array C++ Python 2. Linked List 707. Design Linked List C++ Python 141. Linked List Cycle C++ Python 142. Linked List Cycle II C++ Python 160. Intersection of Two Linked Lists C++ Python 19. Remove Nth Node From End of List C++ Python 206. Reverse Linked List C++ Python 203. Remove Linked List Elements C++ Python 328. Odd Even Linked List C++ Python 21. Merge Two Sorted Lists C++ Python 2. Add Two Numbers C++ Python 430. Flatten a Multilevel Doubly Linked List C++ Python 138. Copy List with Random Pointer C++ Python 61. Rotate List C++ Python 3. Arrays and String 724. Find Pivot Index C++ Python 747. Largest Number At Least Twice of Others C++ Python 66. Plus One C++ Python 498. Diagonal Traverse C++ Python 57. Spiral Matrix C++ Python 118. Pascal's Triangle C++ Python 67. Add Binary C++ Python 28. Find the Index of the First Occurence of a String C++ Python 14. Longest Common Prefix C++ Python 344. Reverse String C++ Python 561. Array Partition C++ Python 167. Two Sum II - Input Array Is Sorted C++ Python 27. Remove Element C++ Python 485. Max Consecutive Ones C++ Python Minimum Size Subarray Sum C++ Python 189. Rotate Array C++ Python 119. Pascal's Triangle II C++ Python 151. Reverse Words in a String C++ Python 557. Reverse Words in a String III C++ Python 26. Remove Duplicates from Sorted Array C++ Python 283. Move Zeroes C++ Python 4. Hash Table 705. Define HashSet C++ Python 706. Define HashMap C++ Python 217. Contains Duplicate C++ Python 136. Single Number C++ Python 349. Intersection of Two Arrays C++ Python 202. Happy Number C++ Python 1. Two Sum C++ Python 205. Isomorphic Strings C++ Python 599. Minimum Index Sum of Two Lists C++ Python 387. First Unique Character in a String C++ Python 350. Intersection of Two Arrays II C++ Python 219. Contains Duplicate II C++ Python 49. Group Anagrams C++ Python 36. Valid Sudoku C++ Python 652. Find Duplicate Subtrees C++ Python 771. Jewels and Stones C++ Python 3. Longest Substring Without Repeating Characters C++ Python 454. 4Sum II C++ Python 347. Top K Frequent Elements C++ Python 380. Insert Delete GetRandom O(1) C++ Python 5. Recursion I 344. Reverse String C++ Python 24. Swap Nodes in Pairs C++ Python 206. Reverse Linked List C++ Python 700. Search in a Binary Search Tree C++ Python 119. Pascal's Triangle II C++ Python 509. Fibonacci Number C++ Python 70. Climbing Stairs C++ Python 104. Maximum Depth of Binary Tree C++ Python 50. Pow(x, n) C++ Python 21. Merge Two Sorted Lists C++ Python 779. K-th Symbol in Grammar C++ Python 95. Unique Binary Search Trees II C++ Python 6. Queue & Stack 622. Design Circular Queue C++ Python 200. Number of Islands C++ Python 752. Open the Lock C++ Python 279. Perfect Squares C++ Python C++ Python C++ Python 7. Heap C++ Python 8. Binary Search C++ Python 9. Binary Tree C++ Python 10. Binary Search Tree C++ Python 11. Trie C++ Python 12. N-ary Tree C++ Python 13. Recursion II C++ Python 14. Dynamic Programming C++ Python 15. Graph C++ Python 1. Two Sum C++ Python 383. Ransom Note C++ Python 412. Fizz Buzz C++ Python 876. Middle of the Linked List C++ Python 1342. Number of Steps to Reduce a Number to Zero C++ Python 1480. Running Sum of 1d Array C++ Python 1672. Richest Customer Wealth C++ Python