Skip to content

Conversation

Ahad-23
Copy link
Contributor

@Ahad-23 Ahad-23 commented Oct 8, 2025

This PR adds a Queue class implementation in the DataStructures folder.
-Implemented using a custom singly linked list (no built-in LinkedList used).
-Core methods: enqueue(), dequeue(), and peek().
-Both enqueue and dequeue operate in O(1) time complexity.
-Follows 4-space indentation and K&R brace style as required.
-Tested with sample inputs and verified functionality.

Copy link
Owner

@IamBisrutPyne IamBisrutPyne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Ahad-23 👋

Thank you for your contribution and Happy Hacking 🌟

@IamBisrutPyne IamBisrutPyne merged commit 7ab6e1a into IamBisrutPyne:main Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants