BIX Tecnologia interview question

Could you explain how tree models work?