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@10.2.0/design-circular-deque/index.ts";

Type Parameters

optional
T = any

Properties

isEmpty: () => boolean
getFront: () => T | number
deleteFront: () => boolean
insertLast: (value: T) => boolean
insertFront: (value: T) => boolean
deleteLast: () => boolean
getRear: () => T | number
isFull: () => boolean
capacity: number
function default
import { default } from "https://deno.land/x/masx200_leetcode_test@10.2.0/design-circular-deque/index.ts";

Type Parameters

optional
T = any

Parameters

optional
capacity = [UNSUPPORTED]

Returns

MyCircularDeque<T>