Interview preparation
UNDERSTAND. EXPLAIN. REPEAT.

Question library

Explained questions for the decisions developers make.

Filters
117 questions matching “Coding”

AI system design

AI Engineering·Interview preparation

Beginner — What questions come before architecture?

Intermediate2 min read

How to prepare for DSA interviews

DSA fundamentals·Foundations & core patterns

Core rule

Foundation2 min read

JavaScript interview-friendly practice list

DSA with JavaScript·JavaScript implementations

Two Sum

Advanced2 min read

Python DSA basics

DSA with Python·Python implementations

Common Python structures

Foundation2 min read

Guardrails and Authorization

Deterministic AI Workflows·Scope, safety & external actions

A robust architecture uses multiple layers of protection:

Intermediate2 min read

What are documents, collections, BSON and ObjectId?

MongoDB & Mongoose·Data modeling

MongoDB stores records as documents, which group related field values in one JSON-like structure. A collection holds documents, and BSON is the binary encoding that supports values such as dates and ObjectIds. An ObjectId is a common identifier format with a timestamp component, but it is not an authorization mechanism or a strict business ordering guarantee.

Foundation2 min read

What makes JWT or session authentication safe?

Performance & security·Security

Token and session security means accepting only credentials issued by a trusted authority for the intended purpose and lifetime. A JWT can carry verifiable claims, while a server session uses stored state behind a session identifier. Both need secure transport, controlled storage, expiry and a response to credential theft.

Intermediate2 min read

How should I store passwords and secrets?

Performance & security·Security

Password hashing turns a password into a one-way verification value using an intentionally expensive algorithm. Secret management protects credentials that the application must be able to use again, such as database passwords or API keys. Passwords should not be reversibly encrypted just so they can be compared at login.

Intermediate2 min read

MCP tools and tool discovery

AI Engineering·Model Context Protocol (MCP)

A tool is a named executable capability with argument metadata and a schema. Discovery lets a client obtain the server's available tool descriptions. A tool description helps the model choose a capability; it is not proof that the server or tool is…

Intermediate2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.