Quantium Interview Question

Gradient boosting and generalized linear models, which one is better for the data that mentioned in this test?