Syllabus

  1. 01The interview processA repeatable process for technical interviews, applied to one problem: clarify, write examples, start with brute force, optimize, then test and explain.4 lessons
    1. 01Clarify the problem first
    2. 02Start with brute force
    3. 03Optimize: what do you really need to know?
    4. 04Test, trace and communicate
  2. 02List problemsClassic interview problems on lists, each from naive to optimal: in-place reversal and rotation, maximum subarray, two pointers on sorted data, merging intervals, and a benchmarked trading-window project.5 lessons
    1. 01Reversing and rotating in place
    2. 02Maximum subarray sum
    3. 03Two pointers on sorted lists
    4. 04Merging intervals
    5. 05Project: the best trading window
  3. 03Linked list problemsInterview problems on linked lists: reversing in place and recursively, removing duplicates with and without extra memory, merging sorted lists, and adding numbers stored as digit lists.4 lessons
    1. 01Reversing a linked list
    2. 02Removing duplicates
    3. 03Merging two sorted lists
    4. 04Adding numbers stored as lists
  4. 04Dynamic programmingRecognize problems with optimal substructure and overlapping subproblems and solve them with memoization or tables: coin change, the 0/1 knapsack, longest increasing subsequence and edit distance.4 lessons
    1. 01Dynamic programming
    2. 02The 0/1 knapsack problem
    3. 03Longest increasing subsequence
    4. 04Project: edit distance and diffs