Inkredo interview question

a machine learning problen