Meta interview question

Design Amazon rating and recommendation system.