Question d’entretien chez Amazon

Time complexity of technical solution