Examveda

How would you implement a stack that supports minimum element retrieval in constant time?

A. Use an additional stack to keep track of minimums

B. Use a doubly linked list

C. Use a hash table to store minimums

D. Use a binary search tree

Answer: Option A


This Question Belongs to Data Structure >> Stacks In Data Structures

Join The Discussion

Related Questions on Stacks in Data Structures