UNPKG

flo-ll-rb-tree

Version:

A simple left leaning red black tree implementation.

7 lines (6 loc) 233 B
import { LlRbTree, Node } from "./tree.js"; /** * Function to construct string from binary tree */ declare function treeToStr<T>(nodeToStrFunc: (node: Node<T>) => string): (tree: LlRbTree<T>) => string; export { treeToStr };