Babylon interview question

pair programming on a coding question