1,142 views
1 votes
1 votes

What are the minimum number of pointers required to implement a stack using single ended queue ( the queue is NOT a dequeue )?

 

2 Answers

0 votes
0 votes
As per I think... Its 2 (FRONT and REAR) (If u r thinking of having single pointer then it will not be a queue anymore bcoz queue has enqueue and dequeue operations in constant time).
edited by

Related questions

0 votes
0 votes
1 answer
1
Souvik33 asked Nov 2, 2022
875 views
Which data structure would be most appropriate to implement a collection of values with the following 3 characteristicsSingly link list with head and tail pointerDoubly l...