Walk or map over objects in a depth-first preorder or postorder manner.
Binary Tree. Javascript & Typescript Data Structure.
Small module for graph traversals, supporting DFS and BFS with niceties added for pre- and post-order, including their reverses.