findmin in queue in O(1)

Modify queue data structure to support enqueue() , dequeue() , findmin() .... Is it possible to do this in O(1) with extra space ?

Comments

Popular posts from this blog