Discussion of Question with ID = 033 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.

Advertisement

Question

"96 05 each 28 dame kids sage 57" is re-arranged according to a particular rule, in the steps mentioned below.

  1. dame 05 each 28 96 kids sage 57
  2. dame 57 each 28 96 kids sage 05
  3. dame each 57 28 96 kids sage 05
  4. dame each 57 sage 96 kids 28 05
  5. dame each kids sage 96 57 28 05

If an input is: 86 68 jail 60 walk balm 35 keys, then how many steps are required if re-arrangement is done according to the above rule?

A

7

B

6

C

9

D

8

Soln.
Ans: a

In each step, English words are moving to the left in the order in which they appear in a dictionary. The numbers are moving to the right in ascending order. An English word is placed, then a number, and so on. These are the steps for re-arrangement starting with 86 68 jail 60 walk balm 35 keys:

  1. balm 68 jail 60 walk 86 35 keys
  2. balm 68 jail 60 walk 86 keys 35
  3. balm jail 68 60 walk 86 keys 35
  4. balm jail 68 keys walk 86 60 35
  5. balm jail keys 68 walk 86 60 35
  6. balm jail keys 86 walk 68 60 35
  7. balm jail keys walk 86 68 60 35

Comments and Discussion