every note, in one binder ✎

Developer interview notes & guides — Page 18

Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.

read ✓Docker · mid

Docker Health Checks and Useful Probes

How a HEALTHCHECK moves from starting to unhealthy, why plain Docker never restarts an unhealthy container, and what a good probe checks.

~5 min readread →
read ✓Docker · easy

Docker Build Context and Ignore Rules

What the build context is, why COPY . . can ship your .env and .git, and how to write .dockerignore patterns that match nested folders.

~5 min readread →
read ✓Docker · easy

Docker Images Versus Running Containers

An image is a read-only template; a container is that template plus a writable layer and a process. See what survives stop, start and rm.

~5 min readread →
read ✓Docker · mid

Docker Image Tags and Reproducible Releases

Tags are movable pointers and digests are not. Learn why latest breaks rollbacks, how to tag releases, and when to pin images by sha256.

~5 min readread →
read ✓Docker · easy

Docker Layers and Build Cache Invalidation

Why one edited source file can rerun npm install: how BuildKit's layer cache keys each step, and how to order a Dockerfile so rebuilds stay fast.

~5 min readread →
read ✓Docker · hard

Docker Logs and Application Diagnostics

docker logs only shows stdout and stderr. Fix empty logs, Python buffering and unrotated json-file growth, then pick a logging driver.

~5 min readread →
read ✓Docker · mid

Docker Networks and Container DNS

Why containers can't resolve each other on the default bridge, how the 127.0.0.11 resolver works, and why nginx keeps a stale upstream IP.

~5 min readread →
read ✓Docker · mid

Docker Nonroot Users and File Permissions

Switching a container to a nonroot USER breaks writes until ownership is right. Fix EACCES with chown, numeric UIDs and pre-created volume paths.

~5 min readread →
read ✓Docker · mid

Docker Exposed Ports Versus Published Ports

EXPOSE documents a port; -p opens one on the host. Bind addresses, -P, the 127.0.0.1 trap inside containers and the ufw bypass on Linux.

~5 min readread →
read ✓Docker · mid

Docker Secrets and Image Layer History

Build args and ENV values stay readable in docker history and image config. Pass build-time credentials with BuildKit secret mounts instead.

~5 min readread →
read ✓Docker · mid

Docker Volumes and Data Lifetimes

Named and anonymous volumes outlive containers in different ways. Trace which commands keep data, which delete it, and how to back it up.

~5 min readread →
read ✓Data Structures & Algorithms · hard

Backtracking and Safe Pruning Rules

Backtracking and Safe Pruning Rules. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · easy

Big-O Complexity and Input Growth

Big-O Complexity and Input Growth. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · mid

Binary Search on an Answer Space

Binary Search on an Answer Space. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · mid

Binary Search and Explicit Boundaries

Binary Search and Explicit Boundaries. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · hard

Dynamic Programming and State Definition

Dynamic Programming and State Definition. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · hard

Graph DFS States and Cycle Detection

Graph DFS States and Cycle Detection. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · easy

Hash Maps for Frequency and Membership Problems

Hash Maps for Frequency and Membership Problems. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
read ✓Data Structures & Algorithms · mid

Heaps for Top-K and Incremental Selection

Heaps for Top-K and Incremental Selection. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readread →
esc