Coding Tests
Useful Links
Leetcode 75
- Leetcode Grind 75 is a collection of coding test practice sets. It aims to cover all major topics in programming exams in 8 weeks.
- Will use Python (main language) and C++ (supplementary language)
- Link
Data Structures
Stage 1
- 0001 Two Sum
- 0020 Valid Parentheses
- 0021 Merge Two Sorted Lists
- 0121 Best Time to Buy and Sell Stock
- 0125 Valid Palindrome
- 0226 Invert Binary Tree
- 0242 Valid Anagram
- 0704 Binary Search
- 0733 Flood Fill
- 0053 Maximum Subarray
- 0235 LCA of a Binary Search Tree
- 0110 Balanced Binary Tree
- 0141 Linked List Cycle
Stage 2
- 0232 Implement Queue using Stacks
- 0278 First Bad Version
- 0383 Ransom Note
- 0070 Climbing Stairs
- 0409 Longest Palindrome
- 0206 Reverse Linked List
- 0169 Majority Element
- 0067 Add Binary
- 0543 Diameter of Binary Tree
- 0876 Middle of the Linked List
- 0104 Maximum Depth of Binary Tree
- 0217 Contains Duplicate
Stage 3
- 0057 Insert Interval
- 0542 01 Matrix
- 0973 K Closest Points to Origin
- 0003 Longest Substring Without Repeating Characters
- 0015 3Sum
- Binary Tree Level Order Traversal
- Clone Graph
- Evaluate Reverse Polish Notation
Stage 4
- Course Schedule
- Implement Trie (Prefix Tree)
- Coin Change
- Product of Array Except Self
- Min Stack
- Validate Binary Search Tree
- Number of Islands
- Rotting Oranges
Stage 5
- Search in Rotated Sorted Array
- Combination Sum
- Permutations
- Merge Intervals
- Lowest Common Ancestor of a Binary Tree
- Time Based Key-Value Store
- Accounts Merge
- Sort Colors
Stage 6
- Word Break
- Partition Equal Subset Sum
- String to Integer (atoi)
- Spiral Matrix
- Subsets
- Binary Tree Right Side View
- Longest Palindromic Substring
- Unique Paths
- Construct Binary Tree from Preorder and Inorder Traversal
Stage 7
- Container With Most Water
- Letter Combinations of a Phone Number
- 0079 Word Search
- Find All Anagrams in a String
- Minimum Height Trees
- Task Scheduler
- LRU Cache
Stage 8
- Kth Smallest Element in a BST
- Minimum Window Substring
- Serialize and Deserialize Binary Tree
- Trapping Rain Water
- Find Median from Data Stream
- Word Ladder
- Basic Calculator
- Maximum Profit in Job Scheduling
- Merge k Sorted Lists
- Largest Rectangle in Histogram