BMO Financial Group interview question

They asked me about random forest algorithm. How do you define duration. Bayes theorem.