Pregunta de entrevista de Fractal

Supervised machine learning related question. (Approx solution)