Skip to content

Conversation

@Aj-esh
Copy link

@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