1.

Numbers arrangement machine when given an input line of numbers rearranges them following a particular rule in each step The following is an illustration of input and rearrangement `{:("Input: 92 54 73 15 40 25 86 77 62 68"),("Step I: 16 92 54 73 40 86 77 62 68 26"),("Step II: 41 16 92 73 86 77 62 68 26 55"),("Step III: 63 41 16 92 73 86 77 26 55 69"),("Step IV: 74 63 41 16 92 86 26 55 69 78"),("Step V: 87 74 63 41 16 26 55 69 78 93"):}` Step V., is the last step Input - 59 41 100 29 64 85 17 35 72 88 Which of the following number is `6^(th)` to the left of 30 in the III step ?A. 36B. 60C. 18D. 100

Answer» Correct Answer - A
In this input output question numbers are arranged in ascending order from both the ends such as lowest number is first arranged from the left end and the second lowest number is arranged from the right end. And also all the numbers which are getting arranged is added by 1.
`{:("Input: 59 41 100 29 64 85 17 35 72 88"),("Step I: 18 59 41 100 64 85 35 72 88 30"),("Step II: 36 18 59 100 64 85 72 88 30 42"),("Step IV: 73 60 36 18 100 88 30 42 65 86"),("Step V: 89 73 60 36 18 30 42 65 86 101"):}`


Discussion

No Comment Found

Related InterviewSolutions