Skip to content
All categories

Full Stack Interview Questions

JavaScript, React, networking and databases — the rounds that gate every web role.

11 of 11 questions

Topic
Difficulty
Frequency
Round
Type
BeginnerAsked very oftenBrowserPhone screen · Concept

What happens when you type a URL and press Enter?

The classic warm-up question that secretly tests how deep your mental model of the web goes.

Asked atGoogleCloudflareAmazon
dnstlshttp
IntermediateAsked very oftenReactCoding round · Debugging

Why does my useEffect run twice in Strict Mode?

Your effect fires twice in development and once in production — the right answer is cleanup, not removing StrictMode.

Asked atMetaVercelShopify
reactuseeffectstrict-mode
IntermediateAsked very oftenJavaScriptCoding round · Coding

What does this event-loop snippet print?

A four-line snippet that separates people who memorized "microtasks before macrotasks" from those who can run the queues in their head.

Asked atGoogleMicrosoftMeta
javascriptevent-loopmicrotasks
IntermediateAsked very oftenBrowserConcept round · Debugging

Why does my fetch to another origin fail with a CORS error?

The request succeeds on the network, yet JavaScript never sees the response — CORS is the browser insisting the other origin opts in before the read is allowed.

Asked atStripeShopifyMicrosoft
corshttpheaders
IntermediateAsked very oftenDatabasesConcept round · Debugging

Why does a single page fire 101 database queries?

One query becomes 101 because the ORM loads relations lazily — the fix is one join or one batch, but the interview is about proving you know why.

Asked atShopifyStripeAtlassian
ormn+1sql
IntermediateAsked very oftenArchitectureSystem design · Design

How do you choose between CSR, SSR, SSG and ISR?

Four acronyms, one question underneath: when is the HTML built? The architecture decision is picking per route — not per app.

Asked atVercelShopifyNetflix
next.jsrenderingarchitecture
AdvancedAsked very oftenDatabasesConcept round · Concept

What do transaction isolation levels actually prevent?

Every level answers one question — what may a transaction promise about what it read? — and stronger promises are paid for in conflicts and retries.

Asked atAmazonUberStripe
sqltransactionsisolation
AdvancedAsked very oftenArchitectureSystem design · Design

Design a payment that charges exactly once — through retries and crashes

The card is charged but the crash eats the record — exactly-once charging is not inherited from any tool, it is built from a unique constraint, an outbox, and idempotent effects everywhere.

Asked atStripeRazorpayPayPal
paymentsidempotencyoutbox-pattern
IntermediateAsked sometimesDatabasesConcept round · Concept

How do database indexes work, and when do they hurt?

A B+Tree is a tiny table of contents that turns a million-row scan into a handful of page reads — until writes and row lookups tip the balance.

Asked atAmazonUberMeta
databasesindexesb-tree
AdvancedAsked sometimesArchitectureSystem design · Design

Design a pipeline that ingests a 10-million-row CSV with live progress

A 10M-row upload is not one job — it is tens of thousands of small idempotent chunks, with Postgres as the only source of truth for progress and the WebSocket as its fast path.

Asked atAmazonFlipkartRazorpay
streamsqueuesidempotency
AdvancedAsked sometimesArchitectureSystem design · Design

Design real-time collaboration — and what survives a disconnect

Operations are relative and go stale, so the real design question is who holds the order — a central transformer (OT) or a mergeable data structure (CRDT) — and what survives a disconnect.

Asked atGoogleFigmaNotion
websocketsotcrdt