खालील इनपुटसाठी तिसरी पायरी कोणती असेल? इनपुट: 653, 963, 754, 345, 364, 861, 541
📐 वापरलेले सूत्र / तार्किक नियम (Logic Rule Used):
इनपुट-आउटपुट पुनर्रचना नियम (Machine Input-Output Shifting Rule):
प्रत्येक पायरीमध्ये सर्वात लहान संख्या डावीकडून क्रमाने पहिल्या, दुसऱ्या, तिसऱ्या स्थानावर आणली जाते.
स्पष्टीकरण:
मूळ इनपुट: 653, 963, 754, 345, 364, 861, 541
541, 653, 963, 754, 345, 364, 861
541, 345, 653, 963, 754, 364, 861
541, 345, 364, 653, 963, 754, 861
म्हणून, तिसरी पायरी पर्याय 2 प्रमाणे असेल.
प्रत्येक पायरीत हलवलेली संख्या वगळता इतर सर्व संख्यांचा मूळ सापेक्ष क्रम जसाच्या तसा पुढे सरकतो.
📐 Logic Rule Used:
Sequential Left-to-Right Reorganization:
At each successive step, the target smallest element is shifted to the leftmost available slot while preserving the order of other elements.
Step-by-step Explanation:
Input: 653, 963, 754, 345, 364, 861, 541
541, 653, 963, 754, 345, 364, 861
541, 345, 653, 963, 754, 364, 861
541, 345, 364, 653, 963, 754, 861
Hence, Step 3 matches Option 2.
Keep track of relative positions: newly shifted numbers occupy successive indices 1, 2, 3... without altering the relative order of untouched elements.