Amazon interview question

leetcode hard, search UI feature, code up a popular app feature