Toast Inc interview question

Generic tree traversal algorithm hidden under a real life use case