Pregunta de entrevista de Humane (CA)

Was given a "take home" coding problem, with no time limit and the solution was discussed during the panel interview.