Skip to content

Interviews

DSA solutions, core implementations, and interview prep material.


What's here

  • 400+ solutions across LeetCode, Neetcode 150, and Striver Sheet
  • 12 data structure implementations from scratch in Python
  • Python tricks and language-specific interview material
  • OS fundamentals with C/C++ examples

Sections

Section Description
Neetcode 150 Curated 150 problems covering all major patterns
Practice Problems LeetCode-style problems by topic
DSA Implementations Trees, graphs, heaps, tries, and more from scratch
Striver Sheet Striver's DSA sheet solutions
Company Questions Company-specific prep material
Python Python tricks, OOP, and language internals
Operating Systems Process scheduling, synchronization, system calls
Design Patterns Classic design patterns in Python
Time Complexity Complexity cheatsheet

Time Complexity Cheatsheet

Complexity Description Examples
O(1) Constant Hash table lookup
O(log n) Logarithmic Binary search
O(n) Linear Single loop over array
O(n log n) Linearithmic Merge sort, quicksort (avg)
O(n^2) Quadratic Nested loops, bubble sort
O(2^n) Exponential Recursive fibonacci
O(n!) Factorial Permutations, TSP

Common Data Structure Operations

Structure Access Search Insert Delete
Array O(1) O(n) O(n) O(n)
Hash Table - O(1) avg O(1) avg O(1) avg
Linked List O(n) O(n) O(1) head O(1) head
BST (balanced) O(log n) O(log n) O(log n) O(log n)
Heap - O(n) O(log n) O(log n)