@sridhar-mani/dsa-js
Version:
A full-fledged data structure library with linked list and double linked list implementation
11 lines • 343 B
TypeScript
export default class StackMain<T> {
private linkedList;
constructor();
isEmpty(): boolean;
peek(): import("../main").LLNode<T> | null;
push(value: T): void;
pop(value: T): void;
toArray(): import("../main").LLNode<T>[];
toString(callBack: (value: T) => string): string;
}
//# sourceMappingURL=StackMain.d.ts.map