Skip to content

Implement Queue using a Singly Linked List #18

@ghostrider2606

Description

@ghostrider2606

DataStructures: Foundational Structure

Goal: Create a Queue class implementation using a custom Singly Linked List (not Java's built-in LinkedList). It must include the core methods: enqueue(), dequeue(), and peek().
Folder: DataStructures
Technical Notes: The methods enqueue and dequeue should both operate in O(1) time complexity.
Style Requirement: Ensure all classes and methods follow the 4-space indentation and K&R brace style.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions