CONTENTSERV Interview Question

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.

Interview Answer

Anonymous

Jun 29, 2017

Use stack to store and traverse

1