Top

Discussion

Which of the following will be the last step for the given input ?

Input : 16 09 25 27 06 05

  • A.I
  • B.II
  • C.III
  • D.IV
  • E.None of these

Answer: B

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 until step II, so it is the last step.

 

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

Post your comment