Module

x/datastructure/queue/queue.ts

Implement different Data Structures using TypeScript. Deno Third-party Module.
Latest
class Queue
implements QueueApi
import { Queue } from "https://deno.land/x/datastructure@1.2.1/queue/queue.ts";

Constructors

new
Queue()

Properties

size: number

Methods

dequeue()
enqueue(data: DataType<any>)
getBack()
getFront()
iterator()
log()
search(key: string | number)
update(key: string | number, newValue: any)

Static Methods

createQueue()