Skip to main content

Depth First Search - In Order

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

Usage

src/sample/inorder.ts
import { inOrder } from 'athro';

const result = inOrder(root);