diff --git a/src/data-structures/queue/queue.ts b/src/data-structures/queue/queue.ts index bb06fcc..db71e13 100644 --- a/src/data-structures/queue/queue.ts +++ b/src/data-structures/queue/queue.ts @@ -142,9 +142,9 @@ export class Queue extends IterableElementBase` object. + * @returns Always returns true, indicating the element was successfully added. */ push(element: E): boolean { this.elements.push(element); @@ -176,7 +176,7 @@ export class Queue extends IterableElementBase extends IterableElementBase