AlgoViz

What an LLD interview tests

easy 40 min

A low-level design round gives you one vague sentence and about 45 minutes.

Watch lesson5:00

Where it shows up

The same pattern appears across everyday software.

  • Python logging

    Loggers are what the program calls, handlers decide where a record goes, filters decide which records pass, formatters decide the text. Four jobs, four kinds of object.

  • Java ThreadPoolExecutor

    What to do with a task when the pool is full is a policy object: RejectedExecutionHandler, with four ready policies and room for your own.

  • HikariCP

    A container with a limit: maximumPoolSize bounds the connections, idle and in use together.

  • Caffeine

    The cache offers eviction by size, by time and by reference. The container stays, the policy varies.

  • python-chess

    Board owns the rules: legal_moves lists what is allowed now, and push and pop change and undo. A move object carries only the squares and a promotion.

  • Kubernetes Pods

    A written lifecycle: Pending, Running, Succeeded, Failed, with Unknown when the state cannot be obtained.

  • SQLAlchemy sessions

    Every mapped object has a state: transient, pending, persistent, deleted or detached. The session is the manager that moves it.

  • Django password hashers

    PASSWORD_HASHERS is a list. The first one stores new passwords, the others still verify old ones. A policy that changes without losing the past.