Stream Transformer: Reconstruct a Sparse Time×Code Matrix Row by Row
Asked at Jane Street · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
Convert a stream of sparse `(timestamp, code, value)` records, arriving in batches, into dense rows with one column per code, emitting each row as soon as it is complete.
Loading the problem…
More Jane Street interview questions
- Transform String
- Design a Supermarket Queue
- Count Numbers Containing Digit 4 from 1 to 1000
- Estimating Citywide Plastic Bag Usage Based on Population Data
- Stack-Language Interpreter and Jump-Debugging Program Rewriter
- Implement a Code Editor Supporting Code Block Collapse/Expand (Shrink/Expand)