Fractal interview question

Supervised machine learning related question. (Approx solution)