Capgemini Engineering Interview Question

when do you use a random forest when do you use smote? Difference between a python list and a python tuple