🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Input–Output: all 15 questions

Quiz: Input–Output · Question 2 of 15

For the same input (rose 55 cup 21 fan 39), how many steps are needed to finish the arrangement?

For the same input (rose 55 cup 21 fan 39), how many steps are needed to finish the arrangement?

  1. A.1
  2. B.2
  3. C.3
  4. D.4
Answer & explanation

Correct answer: 2

Step I: cup 21 rose 55 fan 39. Step II: cup 21 fan 39 rose 55 — fully arranged. The last pair fell into place in Step II.

Can you get the rest right without peeking?

Take the timed Quiz: Input–Output quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →