Question d’entretien chez Amazon

Designing algorithm with the best possible time-complexity?