Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class default
import { default } from "https://deno.land/x/masx200_leetcode_test@8.3.1/implement-queue-using-stacks-lcci/index.ts";

Type Parameters

optional
T = any

Methods

empty(): boolean
peek(): T | number
pop(): number | T
push(value: T): void