@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) • 489 B
TypeScript
import type { DoublyLinkedList } from "..";
import type { LinkedDataNode } from "../../DataNode";
export declare const DLLTraverse: <T>(callback: (d: any, id: string, list: DoublyLinkedList<T>) => void, node: LinkedDataNode<T> | null, list: DoublyLinkedList<T>, inversed: boolean) => void;
export declare const DLLLoop: <T>(callback: (data: T | null, id: string, list: DoublyLinkedList<T>) => boolean, node: LinkedDataNode<T> | null, list: DoublyLinkedList<T>, inversed: boolean) => void;