UNPKG

@euriklis/ds-architect

Version:

`@euriklis/ds-architect` is a modular and extensible library that provides a rich ecosystem for graph and network-based data structures. Designed with both academic rigor and practical application in mind, this library offers powerful graph algorithms and

5 lines (4 loc) 333 B
import type { BST } from ".."; import type { BSTDataNode } from "../../DataNode"; import type { Queue } from "../../Queue"; export declare const CallBFS: <T extends any, AbstractBSTDataNode extends BSTDataNode>(tree: BST<T>, Q: Queue<AbstractBSTDataNode | null>, callback: (node: AbstractBSTDataNode, tree: BST<T>) => void) => void;