UNPKG

stl-kit

Version:

A modern JavaScript & TypeScript standard template library (STL) for data structures and algorithms. Includes high-performance implementations of Stack, Queue, Deque, Linked List, Vector, Set, Map, Tree, Heap, and Graph — inspired by C++ STL. Designed for

1 lines 212 B
import {a}from'./chunk-EI7MMDWY.js';var u=class{constructor(t,c=null,i=null){this.val=t;this.prev=c;this.next=i;}static{a(this,"ListNode");}cleanup(){this.prev=null,this.next=null,this.val=null;}};export{u as a};