Kavach Mains PracticeInput-Output

A machine rearranges numbers. In each step one number is lifted to the next free place from the left and the numbers it jumps over move one place to the right.
Input: 45 12 78 33 60 24
Step I: 12 45 78 33 60 24
Step II: 12 78 45 33 60 24
If the same pattern continues, what is the last step of this arrangement?

एक machine numbers को rearrange करती है। हर step में एक number को बाईं ओर की अगली खाली जगह पर लाया जाता है और जिन numbers के ऊपर से वह निकलता है, वे एक place दाईं ओर खिसक जाते हैं।
Input: 45 12 78 33 60 24
Step I: 12 45 78 33 60 24
Step II: 12 78 45 33 60 24
यदि यही pattern आगे चलता रहे, तो इस arrangement का अंतिम step क्या होगा?

Answer और ExplanationAnswer and explanation

Answer: (D) 12 78 24 60 33 45

1
Step I में सबसे छोटा number 12 place 1 पर आता है और Step II में सबसे बड़ा number 78 place 2 पर आता है।
2
इसलिए pattern है सबसे छोटा, सबसे बड़ा, अगला छोटा, अगला बड़ा, और इसी तरह आगे। Target line 12 78 24 60 33 45 है।
3
Step III में 24 आता है: 12 78 24 45 33 60। Step IV में 60 आता है: 12 78 24 60 45 33।
4
Place 5 पर 33 चाहिए, इसलिए Step V में 33 आता है: 12 78 24 60 33 45। Place 6 पर 45 पहले से है, इसलिए यही अंतिम step है।
इसलिए answer (d) 12 78 24 60 33 45 है।
1
Step I brings the smallest number 12 to place 1 and Step II brings the largest number 78 to place 2.
2
So the pattern is smallest, largest, next smallest, next largest, and so on. The target line is 12 78 24 60 33 45.
3
Step III lifts 24: 12 78 24 45 33 60. Step IV lifts 60: 12 78 24 60 45 33.
4
Place 5 needs 33, so Step V lifts 33: 12 78 24 60 33 45. Place 6 already holds 45, so this is the last step.
So the answer is (d) 12 78 24 60 33 45

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