Wix interview question

Iterative/Recursive tree rendering