Operation | Description | Big O | Return Type |
---|---|---|---|
enqueue(value) | Adds a value to the end of the Queue | O(1) | void |
dequeue() | Removes a value from the front of the Queue | O(1) | T or null |
clear() | Clear the Queue | O(1) | void |
isEmpty() | Returns true or false | O(1) | boolean |
size() | Return a length of the Queue | O(1) | number |
Queue
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||