SeatGeek Interview Question

to solve question with "goto" method