Skip to content

Conversation

@UzairHussain193
Copy link

@UzairHussain193 UzairHussain193 commented Oct 3, 2023

Pull Request Template

Description

This pull request addresses the implementation of the MyCircularQueue class, which is a circular queue data structure. The class provides methods for enqueueing, dequeueing, and performing other operations on the circular queue. The solution follows the specified requirements and is well-documented.

Approach:

  • Implemented a circular queue using an array and pointers.
  • Provided methods for enqueuing, dequeuing, checking fullness, emptiness, and accessing front and rear elements.

Dependencies:

  • No external dependencies are required for this change.

Put check marks:

Have you made changes in README file ?

  • [*] Added problem & solution under correct topic.
  • [] Specified Space and time complexity.
  • Specified difficulty level, tag and note (if any).

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

I have tested the code by running the provided main method, which demonstrates the functionality of the MyCircularQueue class. The test cases cover scenarios of enqueuing, dequeuing, checking fullness and emptiness, and accessing front and rear elements.

  • [*] Test A (Enqueue, Dequeue, Full, Empty, Front, Rear)
  • [*] Test B (Additional testing)

Make sure all below guidelines are followed else PR will get Reject:

  • [* ] My code follows the style guidelines of this project
  • [ *] I have performed a self-review of my own code
  • [ *] I have commented on my code so that it is easy to understand
  • I have made corresponding changes to the documentation
  • [* ] My changes generate no new warnings
  • [ *] Any dependent changes have been merged and published in downstream modules
@welcome
Copy link

welcome bot commented Oct 3, 2023

I can tell this is your first pull request! Thank you I'm so honored. 🎉🎉🎉 I'll take a look at it ASAP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant