Articles

Work through a concrete problem. Follow the code and the decisions behind it.

Foundation lessons

Four lessons, alternating DSA and system design. Read, try the example, then check your reasoning.

  1. Understand the cost of code

    Count the work in a Go program, compare growth rates, and separate running time from extra memory.

  2. Start with requirements

    Turn a short-link service brief into concrete behavior, quality targets, and acceptance scenarios.

  3. Arrays, slices, and boundaries

    Trace length, capacity, shared storage, and safe boundaries through a runnable Go example.

  4. Trace the request flow

    Follow a redirect from client to cache and database, including expiry checks and dependency failures.