Didi Chuxing interview question

difference between bagging and boosting in ensemble learning