Numotion interview question

goals