A robot acts as a number arranger. When given a particular input, it rearranges it according to a particular rule like given below.
Input: 245, 316, 436, 519, 868, 710, 689
Step 1: 710, 316, 436, 519, 868, 245, 689
Step 2: 710, 316, 245, 519, 868, 436, 689
Step 3: 710, 316, 245, 436, 868, 519, 689
Step 4: 710, 316, 245, 436, 519, 868, 689
Step 4 is the final step.
If the input is given as "655, 436, 764, 799, 977, 572, 333", output of which of the following step will be "333, 436, 572, 655, 977, 764, 799"?
Comments
Post a Comment