Module

x/datastructure/stack/stack.ts

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

Constructors

new
Stack()

Properties

size: number

Methods

getBottom()
getTop()
iterator()
log()
pop()
push(data: DataType<any>)
search(key: string | number)
update(key: string | number, newValue: any)

Static Methods

createStack()