Skip to content

Aj esh issue 4762#4795

Open
Aj-esh wants to merge 4 commits intokeshavsingh3197:masterfrom
Aj-esh:Aj-esh-issue-4762
Open

Aj esh issue 4762#4795
Aj-esh wants to merge 4 commits intokeshavsingh3197:masterfrom
Aj-esh:Aj-esh-issue-4762

Conversation

@Aj-esh
Copy link
Copy Markdown

@Aj-esh Aj-esh commented Oct 18, 2025

What type of PR is this? (check all applicable)

  • 🚀 Added Name
  • ✨ Feature
  • 🌟 stared the repo
  • 🐛 Grammatical Error
  • 📝 Documentation Update
  • 🚩 Other

Description

Added a dynamic, array-backed circular Queue data structure

Changes:

Implemented a templated Queue with enqueue, dequeue, front, size, empty, and display.
Dynamic resizing on capacity exhaustion to support arbitrary growth.
Circular buffer indexing to keep operations O (1) amortized.
Underflow checks with clear exceptions.

Files added/updated:

CPP/Data Structures/queueClass.cpp
CPP/Data Structures/queue.cpp
CPP/Data Structures/Stack Using Arrays/stackClass.cpp

…rtingTechniques, retaining those written in cpp in CPP/SortingTechniques
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.

1 participant