Pergunta de entrevista da empresa Mastercard

Algorithms and Data Structures, efficiency