QBE Interview Question

Q: How do you deal with heavily unbalanced classes, for instance when using a classification tree/random forest?