Swiggy interview question

What are the differences between overfitting and underfitting?