Jane StreetCodingMembers
Supermarket Checkout Lines Simulator
Members only
A design-and-implement exercise about modelling several checkout lines and applying updates to customers as they are served. The interesting part is choosing data structures that make front-of-line processing cheap, and then adapting the design when ordering rules become more flexible.
SWE
medium
linked-list
queue
simulation
data-structure
tree
object-design
Frequency
Single report
Last asked
—
Stage
phone-screen
Members get
- Full problem statement
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 4 common pitfalls
- 6 talking points
- 5 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
