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

"62 teak 94 21 math dare 45 ache" is re-arranged according to a particular rule, in the steps mentioned below.

1. ache teak 94 21 math dare 45 62
2. ache 21 94 teak math dare 45 62
3. ache 21 dare teak math 94 45 62
4. ache 21 dare 45 math 94 teak 62
5. ache 21 dare 45 math 62 teak 94

If an input is: 72 lame 75 year 37 bake yarn 41, 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 72 lame 75 year 37 bake yarn 41:

1. bake lame 75 year 37 72 yarn 41
2. bake 37 75 year lame 72 yarn 41
3. bake 37 lame year 75 72 yarn 41
4. bake 37 lame 41 75 72 yarn year
5. bake 37 lame 41 yarn 72 75 year
6. bake 37 lame 41 yarn 72 year 75