ALGOHAY

The 20-Day Interview Pattern Drill

The AlgoHay drill for coding interviews: read the constraints, name the pattern, and state the complexity out loud, twenty times

The Big O Calculator on this site tells you how many operations a growth class means at a given n. In an interview the question runs the other way: here is n and a time limit, so what complexity must the answer have? The 20-Day Interview Pattern Drill starts there. Part 1 is a five-step method to say out loud: read the constraint (a table of which complexity fits each input size, for compiled and interpreted languages), state the brute force and its count, name the pattern, find the bottleneck, count the space and recursion depth. Part 2 is twenty original problems over four weeks (arrays and hashing, search and ordering, graphs and trees, dynamic programming and search spaces), each with a worksheet and a hint. The answer key gives each approach in one line. Any language. No interview outcome is promised. With your purchase comes a personalised sheet showing what fits at your input size and where your chosen techniques are drilled.

Look inside

Two full pages from the drill, exactly as printed. Click either to read it at full size before you decide.

The full contents of The 20-Day Interview Pattern Drill: the method, four weeks of problems, the answer key and working pagesStep 1, The Constraint-Is-A-Clue Rule: which time complexity fits each input size, for compiled and interpreted languages

What is in it

$19.00one-time · no subscription
Get the drill: $19.00

Price includes any taxes. Sold by GrabURL, who handle checkout and support. The charge appears on your statement as GrabURL.

The drill complements the free Big O Calculator. It counts operations for a size; the drill turns a problem's constraint into the complexity it wants, and practices the patterns that reach it.