Goldbelly interview question

ML Ranking Problem of products