Pergunta de entrevista da empresa PriceLabs

Pseudo Code that was provided