@sridhar-mani/dsa-js
Version:
A full-fledged data structure library with linked list and double linked list implementation
10 lines • 341 B
TypeScript
export default class QueueMain<T> {
private linkedList;
constructor();
isEmpty(): boolean;
peek(): (() => import("../main").LLNode<T> | null) | null;
enqueue(value: T): void;
dequeue(): import("../main").LLNode<T> | null;
toString(callback: (value: T) => string): string;
}
//# sourceMappingURL=QueueMain.d.ts.map