更新
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import types = require('./types');
|
||||
|
||||
declare class PriorityQueue {
|
||||
size: number;
|
||||
constructor(cmp?: types.AnyFn);
|
||||
clear(): void;
|
||||
enqueue(item: any): number;
|
||||
dequeue(): any;
|
||||
peek(): any;
|
||||
}
|
||||
|
||||
export = PriorityQueue;
|
||||
Reference in New Issue
Block a user