Question d’entretien chez Thoucentric

Coding from data structure. Time complexity.