Hey friends,
I saw this tweet, and it makes sense, as it's important to focus on the 20% when you're learning algorithms and data structures.
𝗔𝗿𝗿𝗮𝘆𝘀
1. Two Sum
2. Best Time to Buy and Sell Stock
3. Maximum Subarray
4. Container with Most Water
5. Rotate Array
𝗦𝘁𝗿𝗶𝗻𝗴𝘀
1. Reverse String
2. Valid Palindrome
3. Longest Substring Without Repeating Characters
4. Group Anagrams
5. Longest Palindromic Substring
𝗟𝗶𝗻𝗸𝗲𝗱 𝗟𝗶𝘀𝘁
1. Reverse Linked List
2. Merge Two Sorted Lists
3. Remove Nth Node From End of List
4. Linked List Cycle
5. Intersection of Two Linked Lists
𝗧𝗿𝗲𝗲𝘀
1. Maximum Depth of Binary Tree
2. Validate Binary Search Tree
3. Symmetric Tree
4. Binary Tree Level Order Traversal
5. Lowest Common Ancestor of a Binary Tree
𝗚𝗿𝗮𝗽𝗵𝘀
1. Number of Islands
2. Course Schedule
3. Word Ladder
4. Clone Graph
5. Network Delay Time
𝗦𝗲𝗮𝗿𝗰𝗵𝗶𝗻𝗴 & 𝗦𝗼𝗿𝘁𝗶𝗻𝗴
1. Merge Sort
2. Quick Sort
3. Binary Search
4. Search in Rotated Sorted Array
5. First Bad Version
𝗗𝘆𝗻𝗮𝗺𝗶𝗰 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴
1. Fibonacci Number
2. Climbing Stairs
3. Longest Increasing Subsequence
4. Maximum Subarray Sum
5. Coin Change