# Discussion of Question with ID = 035 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

"aero have dark 93 07 quip 36 88" is re-arranged according to a particular rule, in the steps mentioned below.

1. aero 07 dark 93 have quip 36 88
2. aero 07 dark 36 have quip 93 88
3. aero 07 dark 36 have 88 93 quip
4. aero 07 dark 36 have 88 quip 93

If an input is: 57 inch 35 18 yarn 70 kilo jinx, then how many steps are required if re-arrangement is done according to the above rule?

A

6

B

5

C

4

D

7

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 57 inch 35 18 yarn 70 kilo jinx:

1. inch 57 35 18 yarn 70 kilo jinx
2. inch 18 35 57 yarn 70 kilo jinx
3. inch 18 jinx 57 yarn 70 kilo 35
4. inch 18 jinx 35 yarn 70 kilo 57
5. inch 18 jinx 35 kilo 70 yarn 57
6. inch 18 jinx 35 kilo 57 yarn 70