Pergunta de entrevista da empresa Barclays

Which data structure I would use for a given problem