Amazon interview question

Systemdesign and some algorithm questions