/LeetCode-Top-Interview-150

Must-do list for interview prep. 150 Original & Classic Questions Covers comprehensive interview topics.

Primary LanguagePython

Question Categories Link
88. Merge Two Sorted Array Array, Two Pointers, Sorting
27. Remove Element Array, Two Pointers
26. Remove Duplicates from Sorted Array Array, Two Pointers
80. Remove Duplicates from Sorted Array II Array, Two Pointers
169 Majority Element Array, Hashtable, Divide and Conquer, Sorting
189 Rotate Array Array, Two Pointers, Math
121 Best Time to Buy and Sell Stock Array, Dynamic Programming
55 Jump Game Array, Dynamic Programming, Greedy
45 Jump Game II Array, Dynamic Programming, Greedy
274 H-Index Array, Sorting, Counting Sort
380 Insert Delete GetRandom O(1) Array, Hash Table1, Math Design
238 Product of Array Except Self Array, Prefix Sum
134 Gas Station Array, Greedy
13 Roman to Integer Hash Table, Math, String
12 Integer to Roman Hash Table, Math, String
58 Length of Last Word String
14 Longest Common Prefix String, Trie
151 Reverse Words in a String String, Two Pointers
6 Zig-Zag Conversion String
28. Find the Index of the First Occurrence in a String String, Two Pointers, String Matching
125 Valid Palindrome Two Pointers, String
392 Is Subsequence String, Two Pointers, Dynamic Programming
167 Two Sum II - Input Array Is Sorted String, Two Pointers, Binary Search
11 Container With Most Water Array, Two Pointers, Greedy
15 3Sum Array, Two Pointers, Sorting
209 Minimum Size Subarray Sum Array, Binary Search, Sliding Window, Prefix Sum
3 Longest Substring Without Repeating Characters Hash Table, String, Sliding Window
36 Valid Sudoku Hash Table, Array, Matrix
54 Spiral Matrix Array, Matrix, Simulation
48 Rotate Image Array, Matrix, Math
73 Set Matrix Zeroes Array, Matrix, Hash Table