Home/Coding Interview Preparation Guide
⌂ Main Page
Andrew Nedilko

My Coding Interview Preparation Guide

A complete algorithms & data-structures problem library in Python — sorting to NP-completeness, FAANG question sets, pandas & SQL drills, and the brain teasers in between.

Every challenge below comes from my hands-on interview preparation repository Interview-Prep-Python-Developer — problem statements, worked Python solutions, complexity notes, and test runs included. Use the copy button on any code block to grab a solution.

Core Curriculum

Topic-by-topic problem sets covering the full data-structures & algorithms canon.

Core Curriculum

Sorting, Searching & Hash Tables — Basics

Merge sort, quick sort, heap sort, binary search, hash tables, edit distance, and iterator patterns — the essentials.

11 sections
Core Curriculum

Sorting, Searching & Hash Tables — Advanced

Advanced variations on sorting, searching and hashing: harder problems built on the basic toolkit.

11 sections
Core Curriculum

Trees & Graphs — Basics

Binary trees, BSTs, traversals, and graph fundamentals with BFS/DFS.

7 sections
Core Curriculum

Trees & Graphs — Advanced

Harder tree and graph challenges: balancing, path problems, and non-trivial graph algorithms.

8 sections
Core Curriculum

Big-O, Linked Lists, Stacks, Queues & Bitwise

Complexity analysis, linked-list manipulation, stack/queue problems, and bit-manipulation techniques.

27 sections
Core Curriculum

Matrices, Arrays & Unit Testing

2-D matrix challenges (rotation, spiral, zeroing), array problems, and unit-testing patterns for interviews.

29 sections
Core Curriculum

Strings & Tries — Basics

String manipulation, pattern problems, and trie fundamentals.

32 sections
Core Curriculum

Strings & Tries — Advanced

Advanced string algorithms and trie-based challenges.

8 sections
Core Curriculum

Recursion, Memoization & NP-Completeness

Recursive problem-solving, memoization and dynamic programming, plus NP-complete classics.

8 sections

Company Question Sets

Real interview question collections from FAANG-style loops, worked end to end.

Company Question Sets

Apple Interview Questions

A worked set of Apple-style interview challenges with solutions and notes.

86 sections
Company Question Sets

Meta (Facebook) Interview Questions

Meta/Facebook interview questions — LeetCode-numbered problems and the recruitment-portal challenge set.

69 sections
Company Question Sets

Google Interview Questions

Google interview questions with detailed solutions.

84 sections
Company Question Sets

Amazon Interview Questions

Amazon interview questions with detailed solutions.

39 sections
Company Question Sets

Mock Interviews: Four Company Simulations

Full phone-screen + on-site simulations for a search-engine giant, an e-commerce company, a social network, and a ride-share start-up.

17 sections

Special Topics & Data Wrangling

LeetCode special topics plus pandas/SQL drills for data-heavy roles.

Special Topics & Data Wrangling

LeetCode Special Topics

Special-topic LeetCode problems: patterns that keep reappearing in senior-engineer screens.

2 sections
Special Topics & Data Wrangling

Miscellaneous Challenges

Assorted challenges worth knowing if time permits, plus a data-management coding question.

18 sections
Special Topics & Data Wrangling

Pandas vs. SQL: Data Wrangling Drills

Merge/join, group-by, missing values and outliers — the same operations side-by-side in pandas and SQL.

11 sections
Special Topics & Data Wrangling

Pandas Cheatsheet

A rapid-fire pandas reference: indexing, reshaping, aggregation, and idioms for data-heavy interviews.

6 sections

Fundamentals: Deep Dives & Classic Problems

From-scratch implementations, classic problem sets, and brain teasers.

Fundamentals: Deep Dives & Classic Problems

Algorithm Analysis & Big-O

Why we analyze algorithms, formal Big-O notation, worked examples, and Big-O costs of Python's built-in data structures.

4 sections
Fundamentals: Deep Dives & Classic Problems

Sorting Algorithms — Deep Dives

Each classic sorting algorithm explained and implemented from scratch: bubble, selection, insertion, shell, merge, and quick sort.

6 sections
Fundamentals: Deep Dives & Classic Problems

Searching & Hash Tables — Deep Dives

Sequential search, binary search, and building a hash table from first principles.

3 sections
Fundamentals: Deep Dives & Classic Problems

Array Sequence Problems

Dynamic arrays under the hood, plus the classic array interview set: anagram check, pair sum, missing element, largest continuous sum, sentence reversal, string compression, and unique characters.

8 sections
Fundamentals: Deep Dives & Classic Problems

Stacks, Queues & Deques

Concept overviews, from-scratch implementations, and the interview classics: balanced parentheses and a queue built from two stacks.

11 sections
Fundamentals: Deep Dives & Classic Problems

Linked Lists

Singly and doubly linked lists from scratch, plus cycle detection, reversal, and Nth-to-last-node interview problems.

6 sections
Fundamentals: Deep Dives & Classic Problems

Recursion & Memoization Problems

Recursion from first principles, memoization, homework problems, and the classic four: reverse a string, string permutations, Fibonacci three ways, and coin change.

7 sections
Fundamentals: Deep Dives & Classic Problems

Trees: Implementations & Problems

Tree representations, binary heaps, binary search trees, and tree interview problems: BST check, level-order print, and trimming a BST.

7 sections
Fundamentals: Deep Dives & Classic Problems

Graphs: Implementations & Problems

Graph representations (adjacency list), BFS and DFS implementations, word-ladder and knight's-tour examples, and graph interview questions.

9 sections
Fundamentals: Deep Dives & Classic Problems

LeetCode Classic Problems

Seventeen numbered LeetCode classics — two sum, add two numbers, longest palindromic substring, edit distance, word break, and more — each with multiple solution approaches.

17 sections
Fundamentals: Deep Dives & Classic Problems

Interview Riddles & Brain Teasers

The classic logic riddles: bridge crossing, coins and a scale, egg drop, hallway lockers, jugs of water, light switches, and burning ropes.

7 sections