You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
544 B

4 months ago
import LinkedList from './linked-list';
export default class Queue {
linkedList: LinkedList;
constructor();
/**
*
*/
isEmpty(): boolean;
/**
*
*/
peek(): any;
/**
*
* @param value
*/
enqueue(value: any): void;
/**
* null
*/
dequeue(): any;
toString(callback?: any): string;
}