Which of the following permutation can be obtained in the same order using a…

ISRO Scientist/Engineer SC · December 2017 · Computer Science

Which of the following permutation can be obtained in the same order using a stack assuming that input is the sequence 5, 6, 7, 8, 9 in that order?

  1. A.

    7, 8, 9, 5, 6

  2. B.

    5, 9, 6, 7, 8

  3. C.

    7, 8, 9, 6, 5

  4. D.

    9, 8, 7, 5, 6

Attempted by 1048 students.

Show answer

Correct answer: C

The worked solution is available to enrolled students.

Video solution available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…