Pergunta de entrevista da empresa LPL Financial

Describe how you would go about solving this problem.