Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A queue exhibits First-In-First-Out (FIFO) behavior. It is a sequence of data items with the property that items can be removed only at one end, called the front of the queue, and items can be added only at the other end, called the back of queue.

Notifications You must be signed in to change notification settings

kasonchan/Java_LinkedListQueue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

Java_LinkedListQueue

####This repo is an implementation of a Linked List Queue. ####This Queue class exhibits First-In-First-Out (FIFO) behavior. It is a sequence of data items with the property that items can be removed only at one end, called the front of the queue, and items can be added only at the other end, called the back of queue.

####This Queue class contains the following functionalities.

  • constructor: Constructs an empty queue.
  • empty: Checks if a queue is empty.
  • enqueue: Modifies a queue by adding a value at the back.
  • front: Accesses the front queue value; leaves queue unchanged.
  • back: Accesses the back queue value; leaves queue unchanged.
  • dequeue: Modifies queue by removing the value at the front.
  • display: Displays all the queue elements.

About

A queue exhibits First-In-First-Out (FIFO) behavior. It is a sequence of data items with the property that items can be removed only at one end, called the front of the queue, and items can be added only at the other end, called the back of queue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /