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

"card calf 27 harm 46 80 96 vote" is re-arranged according to a particular rule, in the steps mentioned below.

1. calf card 27 harm 46 80 96 vote
2. calf 27 card harm 46 80 96 vote
3. calf 27 card 46 harm 80 96 vote
4. calf 27 card 46 harm 80 vote 96

If an input is: band yeti raid 77 28 06 83 math, 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 band yeti raid 77 28 06 83 math:

1. band 06 raid 77 28 yeti 83 math
2. band 06 math 77 28 yeti 83 raid
3. band 06 math 28 77 yeti 83 raid
4. band 06 math 28 raid yeti 83 77
5. band 06 math 28 raid 77 83 yeti
6. band 06 math 28 raid 77 yeti 83