psst… 2180+ questions inside

Developer interview questions & practice.

Prepare with explained interview questions and study notes for JavaScript, TypeScript, React, Angular, Java, Python, SQL, AWS and more, organized by topic and with the reasoning written in the margins. Finally, practice them like it's the real interview.

Closures, Ch. 1 ✦
function outer() {
  let count = 0;
  return function inner() {
    return ++count;
  };
}
const next = outer();
next(); // 1
next(); // 2 ← why not 1?!
Q: var vs let?var → function scope, hoisted as undefined
let → block scope + TDZ!
Try it yourself ★Explain why the closure remembers count.

Pick a chapter (start anywhere, really)

See all chapters →

Frontend

The browser, the language and the frameworks.

Backend

Servers, services and the languages behind them.

Databases

Relational and document stores, queries and design.

Cloud & DevOps

Containers, orchestration, cloud and delivery.

Platforms

Enterprise platforms with their own interview loops.

Fundamentals

Algorithms and architecture: asked everywhere.

The practice room no sign-up, saved in your browser

Open the practice room →

Latest notes fresh off the pen ✎

All 682 notes →
read ✓Angular · mid

Angular Defer Blocks and Lazy Rendering

Load template regions on demand with @defer, choose a trigger, and use placeholders without delaying critical content.

~2 min readread →
read ✓Angular · hard

Angular Global Error Handling

Catch uncaught errors with a custom ErrorHandler, distinguish client from HTTP errors, and surface safe messages to users.

~2 min readread →
read ✓Angular · mid

Angular Host Directives and Composition

Attach behavior to elements with attribute directives, bind to the host with the host property, and compose directives with hostDirectives.

~2 min readread →
read ✓Angular · mid

Angular Pure and Impure Pipes

Understand why pure pipes run only when inputs change, what makes a pipe impure, and how to avoid the performance cost.

~3 min readread →
read ✓Angular · hard

Angular Resource API for Async Data

Load data reactively with the resource API, track loading and error state as signals, and cancel stale requests automatically.

~2 min readread →
read ✓Angular · hard

Angular Signal Forms Overview

Model forms as signals, bind fields in the template, and reason about validation and derived state in a signal-driven form.

~2 min readread →

Tear-off cheat sheets print & stick on your wall

All cheat sheets →

A note in your inbox, every Sunday.

One tricky interview question, fully explained. Takes 5 minutes to read with your coffee.

esc