Caterpillar Interview Question

Unbalanced datasets, how do you deal with them