Practise the reasoning · 7 steps
Core interview practice
Move from arrays and lookup tables to stacks and dynamic programming, then connect the ideas to backend interviews.
Start with the first step and work at your own pace.
Start the path →Enable JavaScript to mark steps complete. All lessons are available below.
Before you start
You can read basic Python and want to practise explaining solutions out loud.
What you’ll work toward
Trace common problem-solving patterns, explain complexity, and practise database and operating-system concepts.
Your learning sequence
7 steps · Work at your own paceWorked problem
Start with arrays and sets
Solve it before opening the explanation. Compare time and extra space.
Worked problem
Use a lookup table
Explain what you store before each iteration and why the lookup is correct.
10 min read
Recognize a monotonic stack
Trace the stack by hand on an array containing duplicate values.
Worked problem
Apply the stack pattern
Explain why a nested while loop can still give linear total time.
Worked problem
Build a recurrence
Derive the base cases and explain the meaning of each rolling variable.
Interview practice
Explain database fundamentals
Answer three questions out loud before revealing their explanations.
Interview practice
Connect code to the operating system
Explain processes, threads, and deadlock using concrete examples.
