Explain the concept of overfitting in machine learning and how cross-validation helps in detecting and mitigating overfitting. Provide a detailed explanation and include a hypothetical example of a scenario where cross-validation would be crucial in preventing overfitting. | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz