Capgemini interview question

Basics of ML, some coding