Skip to content

noor05-creator/SimpleQueue-Using-Array-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Simple Queue Using Array in Java

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.

πŸš€ Features

  • pushRear(int data) – Enqueue operation (add to the rear)
  • popFront() – Dequeue operation (remove from the front)
  • isFull() – Check if the queue is full
  • isEmpty() – Check if the queue is empty
  • print() – Print all elements from front to rear

πŸ’‘ Learning Focus

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

πŸ“‚ File Structure

  • Queue – Class implementing queue logic
  • Main – Contains driver code for testing

πŸ› οΈ Built With

  • Java
  • IDE: IntelliJ IDEA

Noor Fatima
BS Artificial Intelligence Student
GitHub: https://github.com/noor05-creator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages