Upwork interview question

Difference between undersampling vs oversampling.