Top

Discussion

Which of the following will be the last step for the given input ?
Input : 16   09   25   27   06   05

  • A.ll
  • B.ll
  • C.lll
  • D.lV
  • E.None of these

Answer: B

Clearly, in the given arrangement, the numbers have been arranged in descending order in a sequence, altering the position of only one number in each step
Input :- 16   09   25   27   06   05
Step I :- 27   16   09   25   06   05
Step II :- 27   25   16   09   06   05
Since all the numbers in the given input have been arranged in descending order uptil Step II, so it is tha last step.

No comment is present. Be the first to comment.
Loading…

Post your comment