Kavach Mains PracticeInput-Output

A machine arranges a line of words and numbers. In every step one item is brought to the next free place from the left, and the others keep their order. Words go Z to A, numbers go smallest first, and the final line begins with a word and then alternates word, number, word, number.
Input: sky 14 fox 37 owl 8 ant 25
Step I: sky 8 14 fox 37 owl ant 25
Step II: sky 8 owl 14 fox 37 ant 25
What is Step III?

एक machine words और numbers की line को arrange करती है। हर step में एक item को बाईं ओर से अगली खाली जगह पर लाया जाता है और बाकी items अपना order बनाए रखते हैं। Words Z से A क्रम में, numbers छोटे से बड़े क्रम में जाते हैं, और अंतिम line word से शुरू होकर word, number, word, number के क्रम में चलती है।
Input: sky 14 fox 37 owl 8 ant 25
Step I: sky 8 14 fox 37 owl ant 25
Step II: sky 8 owl 14 fox 37 ant 25
Step III क्या है?

Answer और ExplanationAnswer and explanation

Answer: (C) sky 8 owl 14 fox 25 37 ant

1
Final line यह है: words Z से A क्रम में sky, owl, fox, ant हैं और numbers छोटे से बड़े क्रम में 8, 14, 25, 37 हैं। इसलिए line sky 8 owl 14 fox 25 ant 37 है।
2
Step II में line sky 8 owl 14 fox 37 ant 25 है। Places 1 से 5 पर sky, 8, owl, 14, fox पहले से सही हैं, इसलिए इन पर कोई step खर्च नहीं होता।
3
Place 6 पर number आना चाहिए और बचे numbers में सबसे छोटा 25 है। 25 को place 6 पर लाएँ; 37 और ant एक-एक place दाईं ओर खिसक जाते हैं।
4
इसलिए Step III है sky 8 owl 14 fox 25 37 ant। ant को place 7 पर Step IV में लाया जाएगा।
इसलिए answer (c) sky 8 owl 14 fox 25 37 ant है।
1
The final line is: words Z to A are sky, owl, fox, ant; numbers smallest first are 8, 14, 25, 37. So it is sky 8 owl 14 fox 25 ant 37.
2
In Step II the line is sky 8 owl 14 fox 37 ant 25. Places 1 to 5 already read sky, 8, owl, 14, fox, which is correct, so no step is spent on them.
3
Place 6 must hold a number, and the smallest number left is 25. Lift 25 to place 6; 37 and ant slide one place to the right.
4
Step III is therefore sky 8 owl 14 fox 25 37 ant. Only Step IV will bring ant to place 7.
So the answer is (c) sky 8 owl 14 fox 25 37 ant

Source: Kavach Mains Practice। Solution: Prashant Sir, Kavach।Source: Kavach Mains Practice. Solution by Prashant Sir, from Kavach.