Pergunta de entrevista da empresa T. Rowe Price

Basic algorithms questions for take home exercise