Pergunta de entrevista da empresa Opendoor

Solve algorithms in their code.