Pregunta de entrevista de Opendoor

Solve algorithms in their code.