Amazon interview question

Solution design for online ticketing system