Question d’entretien chez Amazon

Problem solving question OOP and design principles