Amazon interview question

Design a recommandation algorithm