Pregunta de entrevista de Filevine

Coding problem - collaborative with engineer. Not terribly difficult, but did test some problem solving ability.