Qualcomm Interview Question

how to detect and solve over fitting