Cognizant interview question

Explain SVM ,RF, how overfitting handled