Spring Financial interview question

Solutions to overfitting and underfitting