Skip to content

JGHDany/Queue_Vector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Queue_Vector

Definition of the Data Structure:

To allow the reuse of the positions already occupied, the concept of "Circular Queue" is used.
We need a new component to indicate how many elements there are in the queue at the moment.
  1. Create - creates an empty queue

  2. Empty - tests if a queue is empty

  3. First - gets the element from the beginning of the queue

  4. Inserts - inserts an element at the end of a queue

  5. Removes - removes the element from the beginning of a queue, returning the removed element

  6. Empty - removes all elements from the queue.

  7. PrintQueue - prints all elements of the queue.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages