Question d’entretien chez Amazon

BQ, Time complexity, Data structure, Coding provlem.