Amazon Interview Question

Basic ML questions.