Informetis interview question

How is a random forest different from xgboost