Uses advanced data structures to simulate how the checkout lines at a certain store work