Williams-Sonoma, Inc. interview question

How a neural network can be checked How to overcome overfitting