Skip to content
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

Add Queue Data Structure Under DSA folder #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sofiyan-coder
Copy link

fixes: #21

Queue: A queue follows the FIFO (First In, First Out) principle. The first element added is the first to be removed. It resembles a line of people where the person who arrives first is served first.

Operations:
enqueue: Add an element to the rear of the queue.
dequeue: Remove the element from the front.
peek: View the element at the front.
isEmpty: Check if the queue is empty.

Copy link
Owner

@panditakshay402 panditakshay402 left a comment

Choose a reason for hiding this comment

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

Required CheckList Rules to be pass.(reffer readme.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Queue Data Structure Under DSA folder
2 participants