Tyler Technologies Interview Question

tree traversal algo