danieldotwav / LinkedQueue-Implementation

A C++ implementation of a queue data structure using singly linked lists. Provides core operations for enqueue, dequeue, and traversal, ensuring efficient dynamic memory management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LinkedQueue-Implementation

A C++ implementation of a queue data structure using singly linked lists. Provides core operations for enqueue, dequeue, and traversal, ensuring efficient dynamic memory management.

Table of Contents

Getting Started

These instructions will help you set up the project locally and get it running on your machine.

Prerequisites

Ensure you have the following installed on your local machine:

  • C++ compiler (e.g., g++)

Installation

  1. Clone the repository:

    git clone https://github.com/danieldotwav/LinkedQueue-Implementation.git
    Navigate to the project directory:
    
    ```sh
    Copy code
    cd LinkedQueue-Implementation
    Compile the project:
    Copy code
    g++ -o output_name main.cpp
    Run the project:
    Copy code
    ./output_name

Usage

Brief example of how to use your implementation.

cpp
Copy code
LinkedQueue queue;
queue.enqueue(5);
queue.enqueue(10);
queue.dequeue();
// etc.

About

A C++ implementation of a queue data structure using singly linked lists. Provides core operations for enqueue, dequeue, and traversal, ensuring efficient dynamic memory management.


Languages

Language:C++ 100.0%