Coding Interview Patterns
The classic patterns interviews still test: hashing, two pointers, windows, stacks, trees, graphs and DP.
Intermediate · 38 problems · 0 passed · Background reading: General Coding (DSA)
- 01Two Sumeasy
- 02Valid Anagrameasy
- 03Valid Palindromeeasy
- 04Valid Parentheseseasy
- 05Reverse a Singly Linked Listeasy
- 06Linked List Cycle Detectioneasy
- 07Binary Searcheasy
- 08Maximum Depth of Binary Treeeasy
- 09Find if Path Exists in Grapheasy
- 10House Robbereasy
- 11Group Anagramsmedium
- 12Top K Frequent Elementsmedium
- 13Product of Array Except Selfmedium
- 14Longest Consecutive Sequencemedium
- 153Summedium
- 16Container With Most Watermedium
- 17Longest Substring Without Repeating Charactersmedium
- 18Subarray Sum Equals Kmedium
- 19Evaluate Reverse Polish Notationmedium
- 20Search in Rotated Sorted Arrayeasy
- 21Find First and Last Position of Element in Sorted Arraymedium
- 22Diameter of Binary Treemedium
- 23Binary Tree Zigzag Level Order Traversalmedium
- 24Lowest Common Ancestor of a Binary Treemedium
- 25Number of Islands in 2D Gridmedium
- 26Course Schedule: Cycle Detection in Directed Graphmedium
- 27Course Schedule II: Topological Order Recoverymedium
- 28Dijkstra's Single-Source Shortest Pathsmedium
- 29Longest Common Subsequencemedium
- 30Partition Equal Subset Summedium
- 31Decode Waysmedium
- 32Non-overlapping Intervalsmedium
- 33Trapping Rain Watermedium
- 34Minimum Window Substringhard
- 35Sliding Window Maximumhard
- 36Largest Rectangle in Histogram (Monotonic Stack)hard
- 37Binary Tree Maximum Path Sumhard
- 38Median of Two Sorted Arrayshard