Question d’entretien chez Amazon

One DSA coding problem and it was difficult