This repository provides a TypeScript implementation of a doubly linked list data structure.
npm install @bhaireshm/algorithms
import { DoublyLinkedList } from "@bhaireshm/algorithms";
// Create a new doubly linked list
const list = new DoublyLinkedList<string>();
// Add nodes to the list
list.add("A");
list.add("B");
list.add("C");
// Print the list
console.log(list);
Generated using TypeDoc