Amazon interview question

Some ml questions, some algorithm questions