Pergunta de entrevista da empresa Motive

Difference between random forest and xgboost. Talk about a model you know. Why did you use this model for this problem. Given an array that represents routes, find the longest route between them.