Implementation of queue ADT by using array

Write down the prerequisites for implementing the queue ADT by using array?

E

Expert

Verified

For each queue data structure the given prerequisites should be satisfied:

a) Keep an array queue[ ].

b) The positions rear and front represents the ends of queue.

c) The number of elements which are in fact in the queue is kept track of using ‘size’.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.