Comviva Interview Question

binary tree traversal implementation