The queue data structure is to be realized by using stack. The number of…

ISRO Scientist/Engineer SC · 2015 · Computer Science

The queue data structure is to be realized by using stack. The number of stacks needed would be

  1. A.

    It cannot be implemented

  2. B.

    2 stacks

  3. C.

    4 stacks

  4. D.

    1 stack

Attempted by 2199 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…