Amazon Interview Question

Design a ticket ordering sustem