Diageo interview question

How was random forest works?