Question d’entretien chez Swiggy

Machine Coding round: Write a scalable, extensible code for the given scenario.