call(back)

Problems

Callback's own problems and the LeetCode questions companies have been asking, in one place — pick a category, then filter by company, frequency, status, difficulty, topic, and language.

Top Earners per Department

SQL & Data · Window functions beat self-joins — know why.

mediumSign in to star problems

What Is MVCC?

SQL & Data · Writers create new versions instead of overwriting, so readers see a consistent snapshot without blocking writers.

easySign in to star problems

LSM Tree vs B-Tree

SQL & Data · LSM buffers writes in memory and merges sorted files later; a B-tree updates in place for steadier reads.

easySign in to star problems

Row vs Columnar Storage

SQL & Data · Rows suit point lookups and transactions; columns suit scans and aggregates and compress far better.

easySign in to star problems

What Is Vectorized Execution?

SQL & Data · Operators process batches of column values instead of one row at a time, cutting interpretation overhead and using CPU caches well.

easySign in to star problems

What Is a Write-Ahead Log?

SQL & Data · Record the change durably before applying it, so a crash can be replayed.

easySign in to star problems

Transaction Isolation Levels

SQL & Data · Read committed, repeatable read, snapshot, serializable — know which anomaly each permits.

easySign in to star problems

Snowflake's Three Layers

SQL & Data · Database storage, independent compute warehouses, and a cloud services layer — a hybrid of shared-disk and shared-nothing.

easySign in to star problems

What Is a Micro-Partition?

SQL & Data · Immutable 50–500 MB columnar chunks created automatically, with per-column metadata that lets queries skip them.

easySign in to star problems

Rolling 7-Day Average Revenue

SQL & Data · A window frame of six preceding rows is right only when every day has a row; fill the calendar first.

mediumSign in to star problems

Extract Fields From a JSON Column

SQL & Data · Path into the document for scalars, cast them explicitly, and flatten arrays into rows before aggregating.

mediumSign in to star problems

Streaming Funnel by Impression Day

SQL & Data · Impression to click to signup to subscription with a time window at each hop, one count per user per impression day; windows join on the event before them, not the first one.

hardSign in to star problems

Most Enrolled Course

SQL & Data · A count per course over the join table, ordered with a deterministic tie-break and limited to one row; then where it goes in a Spring MVC service.

easySign in to star problems

Bug-Free and Buggy Submission Counts

SQL & Data · Conditional aggregation with SUM over CASE, a LEFT JOIN so silent employees still appear, and the NULL branch.

easySign in to star problems

Fast Submissions, Long Totals

SQL & Data · A per-row limit that applies to the whole group belongs in HAVING with MAX, not in WHERE; then the window-function follow-ups the interviewer moves to.

mediumSign in to star problems

Composite and Covering Indexes

SQL & Data · A composite index is sorted by its columns in order, so only a leftmost prefix can be searched; when it also contains every column the query needs, the table is never read.

easySign in to star problems

Evaluating a Move From MySQL to MongoDB

SQL & Data · A migration is justified by the workload, access patterns, schema shape and scale, and by a measured result, not by a list of SQL-versus-NoSQL traits.

easySign in to star problems