HackerRank interview question

Data analysis and precssion model design