Closed z-huu closed 11 months ago
Yes, we queue to the wrong register here (testcase 2)
Compared to solution output:
The issue probably lies in the fact because we don't handle departs before register opens
The issue: immediately queued a customer with the just opened register 103.
What should've been done: Update system first (process departs) then queue a customer to the just opened register.
Issue addressed by reformatting code with updateSingle()
I think has to do with queuing customers at the wrong registers