x/datastructure/mod.ts

Implement different Data Structures using TypeScript. Deno Third-party Module.
Latest
class DoublyLinkedList
implements LinkedListApi
import { DoublyLinkedList } from "https://deno.land/x/datastructure@1.2.1/mod.ts?s=DoublyLinkedList";

Constructors

new
DoublyLinkedList()
[src]

Properties

size: number[src]

Methods

add(data: DataType<any>, position: number)[src]
append(data: DataType<any>)[src]
getFromHead()[src]
getFromTail()[src]
iterator()[src]
log()[src]
prepend(data: DataType<any>)[src]
remove(key: string | number)[src]
search(key: string | number)[src]
update(key: string | number, newValue: any)[src]