one on tree(not binary) - to traverse without recursion. Multiple childs under 1 node. There is function in node which returns array of objects(childs) underneath.
Anonymous
Use stack to store and traverse
Check out your Company Bowl for anonymous work chats.