Toast Inc interview question

tree walk debug web scrawler code similar to an iterator problem. behavior behavior