# Discussion of Question with ID = 036 under Passwords-and-Inputs

## This is the discussion forum for this question. If you find any mistakes in the solution, or if you have a better solution, then this is the right place to discuss. A healthy discussion helps all of us, so you are requested to be polite and soft, even if you disagree with the views of others. The question and its current solution has also been given on this page.

### Question

"42 20 34 raid jews omen dark 65" is re-arranged according to a particular rule, in the steps mentioned below.

1. dark 20 34 raid jews omen 42 65
2. dark 20 jews raid 34 omen 42 65
3. dark 20 jews 34 raid omen 42 65
4. dark 20 jews 34 omen raid 42 65
5. dark 20 jews 34 omen 42 raid 65

If an input is: 04 idle yeti 69 unto 31 vote 68, then how many steps are required if re-arrangement is done according to the above rule?

A

5

B

4

C

7

D

6

Soln.
Ans: a

In each step, English words and numbers are alternately being arranged in ascending order. An English word is placed, then a number, and so on. These are the steps for re-arrangement starting with 04 idle yeti 69 unto 31 vote 68:

1. idle 04 yeti 69 unto 31 vote 68
2. idle 04 unto 69 yeti 31 vote 68
3. idle 04 unto 31 yeti 69 vote 68
4. idle 04 unto 31 vote 69 yeti 68
5. idle 04 unto 31 vote 68 yeti 69