Skip to content

#15 The Queue #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
somekindofwallflower opened this issue Jun 14, 2022 · 0 comments
Open

#15 The Queue #18

somekindofwallflower opened this issue Jun 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@somekindofwallflower
Copy link
Owner

Description
Create a queue data structure. The queue
should be a class with methods 'add' and 'remove'.
Adding to the queue should store an element until
it is removed.

Examples
const q = new Queue();
q.add(1);
q.remove(); // returns 1;

@somekindofwallflower somekindofwallflower self-assigned this Jun 14, 2022
@somekindofwallflower somekindofwallflower added the enhancement New feature or request label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant