Machine-translated by Google. Questions are authored in English.
Top

Discussion

How many steps will be required to get the final output from the following input? Input : 39 88 162 450 386 72 29

  • A.Three
  • B.Four
  • C.Six
  • D.None of these 

Answer: D

Correct answer: None of these

The placement order is 450, 29, 386, 39, 162, 72, with 88 left over. Steps 1 to 3 place 450, 29 and 386. The next element, 39, is already in position four, so no step is printed for it; the fourth printed step places 162 and the fifth places 72, after which the line is arranged. Five steps are needed, and five is not among the first three options.

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

Post your comment

Please log in or register to post a comment.