Walmart Global Tech interview question

tree based model, clustering. write a code to build a GBM model