Zellis interview question

Questions around fixing code snippets and traversing trees.