-
Notifications
You must be signed in to change notification settings - Fork 9
Implement size() function for Queues. #35
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Taking reference from issue #15, implement the size() function for a queue. This function finds the size of the queue.
First step
Search, read, and understand information about queues and how they are implemented.
Second step
After you open a pull request with the data structure implementation, wait for comments or approval from @code-sherpas/kollections-maintainers.
Minimum acceptance criteria
- The implementation must be well documented with proper Javadoc at Class and function levels.
- The implementation must be tested with automatic tests that cover all relevant cases and situations.
- The implementation must be generic.
- The implementation must have the expected time complexity according to Computer Science. Here you can find a very helpful cheat sheet.
- Compare efficiency using a dynamic array as underlying data structure vs using a linked list. Choose the most efficient.
Related resources:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed