Dot Origin interview question

Solve this programming challenge before we even talk to you.