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) 347 B
import type { DynamicStack } from "../../Stack"; import type { BSTDataNode } from "../../DataNode"; import type { BST } from ".."; export declare const CallDFS: <T extends any, AbstractBSTDataNode extends BSTDataNode>(tree: BST<T>, S: DynamicStack<AbstractBSTDataNode | null>, callback: (node: AbstractBSTDataNode, tree: BST<T>) => void) => void;