Amazon interview question

Textbook machine learning questions based on online courses.