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

Type Parameters

optional
T = any

Properties

empty: () => boolean
peek: () => T
pop: () => T
push: (x: T) => void
function default
import { default } from "https://deno.land/x/masx200_leetcode_test@9.6.3/implement-queue-using-stacks/index.ts";

Type Parameters

optional
T = any

Returns

MyQueue<T>