If the elements 1, 2, 3, and 4 are pushed, in this order, onto an initially…

PYQ Hexaware Hiring Assessment 2025

If the elements 1, 2, 3, and 4 are pushed, in this order, onto an initially empty stack, with no removals between pushes, what is the order in which all elements are popped?

  1. A.

    1234

  2. B.

    2134

  3. C.

    4321

  4. D.

    None of the above

Attempted by 1033 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…