Data Structures and Algorithms - Old Questions
Question Answer Details
1.
vi) How does the rear index incremented in circular queue?
a) front=(rear+1)%SIZE b) rear=(rear+1)%SIZE c) rear=rear+1 d) rear=(rear-1)%SIZE
1.
vi) How does the rear index incremented in circular queue?
a) front=(rear+1)%SIZE b) rear=(rear+1)%SIZE c) rear=rear+1 d) rear=(rear-1)%SIZE