Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 619 Bytes

File metadata and controls

21 lines (14 loc) · 619 Bytes

Queue from Linked List

Task

Implement Queue data structure using Linked List.

Notes

Each node of a queue has a data and pointer to a next node. Then methods of the queue:

  • Enqueue - add to a queue - is an appending to a Linked List
  • Dequeue - remove from queue - removing a head of a Linked List

This implementation represents a template class that allows to create a queue of nodes of any type.

make helps generate main and test binaries to run tests or interactive main program.

Targets:

  • make build
  • make run
  • make test
  • make clean