Tyler Technologies interview question

tree traversal algo