Skip to main content

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 pace
  1. Worked problem

    Start with arrays and sets

    Solve it before opening the explanation. Compare time and extra space.

    Start practising ↗
  2. Worked problem

    Use a lookup table

    Explain what you store before each iteration and why the lookup is correct.

    Start practising ↗
  3. 10 min read

    Recognize a monotonic stack

    Trace the stack by hand on an array containing duplicate values.

    Read the guide ↗
  4. Worked problem

    Apply the stack pattern

    Explain why a nested while loop can still give linear total time.

    Start practising ↗
  5. Worked problem

    Build a recurrence

    Derive the base cases and explain the meaning of each rolling variable.

    Start practising ↗
  6. Interview practice

    Explain database fundamentals

    Answer three questions out loud before revealing their explanations.

    Start practising ↗
  7. Interview practice

    Connect code to the operating system

    Explain processes, threads, and deadlock using concrete examples.

    Start practising ↗
← Explore other paths