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.
SQL & Data · Writers create new versions instead of overwriting, so readers see a consistent snapshot without blocking writers.
SQL & Data · LSM buffers writes in memory and merges sorted files later; a B-tree updates in place for steadier reads.
SQL & Data · Rows suit point lookups and transactions; columns suit scans and aggregates and compress far better.
SQL & Data · Operators process batches of column values instead of one row at a time, cutting interpretation overhead and using CPU caches well.
SQL & Data · Record the change durably before applying it, so a crash can be replayed.
SQL & Data · Read committed, repeatable read, snapshot, serializable — know which anomaly each permits.
SQL & Data · Database storage, independent compute warehouses, and a cloud services layer — a hybrid of shared-disk and shared-nothing.
SQL & Data · Immutable 50–500 MB columnar chunks created automatically, with per-column metadata that lets queries skip them.
SQL & Data · A window frame of six preceding rows is right only when every day has a row; fill the calendar first.
Extract Fields From a JSON Column
SQL & Data · Path into the document for scalars, cast them explicitly, and flatten arrays into rows before aggregating.
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.
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.
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.
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.
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.
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.