ReasoningVery hardIBPS PO Mains · SBI PO Mains · SSC CGL Tier 2

Input–output: A machine rearranges a line of words and numbers. In each step, it moves the smallest number not yet arranged to the left end of the line, and moves the word that comes last in dictionary order among the words not yet arranged to the right end of the line. Input: tiger 34 apple 71 mango 15 zebra 52 kite 88. In Step 4, which element is fifth from the right end?

  1. A. apple
  2. B. zebra
  3. C. 88
  4. D. 15

Correct answer: C. 88

Step 4: 71 52 34 15 apple 88 zebra tiger mango kite. Counting from the right: kite, mango, tiger, zebra, 88. 88 has not yet been moved, so it still sits just left of zebra.

हिंदी में

इनपुट-आउटपुट: एक मशीन शब्दों और संख्याओं की एक पंक्ति को पुनर्व्यवस्थित करती है। प्रत्येक चरण में वह अभी तक व्यवस्थित न की गई सबसे छोटी संख्या को पंक्ति के बाएँ छोर पर ले जाती है, और अभी तक व्यवस्थित न किए गए शब्दों में से शब्दकोश क्रम में सबसे अंत में आने वाले शब्द को पंक्ति के दाएँ छोर पर ले जाती है। इनपुट: tiger 34 apple 71 mango 15 zebra 52 kite 88. चरण 4 में दाएँ छोर से पाँचवाँ तत्व कौन-सा है?

  1. A. apple
  2. B. zebra
  3. C. 88
  4. D. 15

उत्तर: C. चरण 4: 71 52 34 15 apple 88 zebra tiger mango kite। दाएँ से गिनने पर: kite, mango, tiger, zebra, 88। 88 को अभी तक नहीं हिलाया गया है, इसलिए वह अब भी zebra के ठीक बाईं ओर बैठा है।

More Data Sufficiency and Input–Output questions

Exams that ask this topic