Suggest adding no-gain stop to final recursive function

Dear instructors,

I thoroughly enjoyed the course and wonderful exercises and labs.

Have a minor suggestion – to add the completion criterion based on no-gain to the last recursive function (build_tree_recursive), so it complies with the suggested set of ending criteria highlighted in the video lectures. Otherwise testing with higher max_depth, like 5 results in error.



Hi Sergey,

Thank you for the suggestion. I will share it with the course team.