Pregunta de entrevista de X

A basic coding exercise and a basic machine learning exercise.