Quantiphi Interview Question

When do we use time series models, ML models(xgb) and deep learning models