Skip to main content

Depth First Search - Post Order

Traverse a tree in depth first search - post order. Pass the root of the tree.

Usage

src/sample/postorder.ts
import { postOrder } from 'athro';

const result = postOrder(root);