This repository contains an implementation of a Simple Linear Queue in Java using an array. It supports basic queue operations like enqueue, dequeue, and printing the queue elements.
pushRear(int data)β Enqueue operation (add to the rear)popFront()β Dequeue operation (remove from the front)isFull()β Check if the queue is fullisEmpty()β Check if the queue is emptyprint()β Print all elements from front to rear
This project is part of my DSA (Data Structures & Algorithms) practice to master core concepts of queue operations using arrays. Key learnings include:
- Front and rear pointer tracking
- Fixed-size memory queue behavior
- Resetting queue when empty
Queueβ Class implementing queue logicMainβ Contains driver code for testing
- Java
- IDE: IntelliJ IDEA
Noor Fatima
BS Artificial Intelligence Student
GitHub: https://github.com/noor05-creator