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

"it under feel be the weather a may" is re-arranged according to a particular rule, in the steps mentioned below.

  1. feel be it under a may the weather
  2. be feel under it may a weather the
  3. the be feel under it may a weather
  4. feel under the be a weather it may
  5. under feel be the weather a may it
  6. it under feel be the weather a may

If step 3 of an input is: known for diversity people cultural nice and is, then what is step 6, if re-arrangement is done according to the above rule?

A

known for diversity people cultural nice and is

B

for diversity people cultural nice and is known

C

people diversity for known is and nice cultural

D

diversity for cultural people and nice known is

Soln.
Ans: a

First, each alternate pair interchanged. In the second step, adjacent ones are interchanged. In the third step a rotation is done from left to right. This sequence is repeated.

  1. 3 4 1 2 7 8 5 6
  2. 4 3 2 1 8 7 6 5
  3. 5 4 3 2 1 8 7 6
  4. 3 2 5 4 7 6 1 8
  5. 2 3 4 5 6 7 8 1
  6. 1 2 3 4 5 6 7 8

These are the steps for re-arrangement starting with known for diversity people cultural nice and is:

  • known for diversity people cultural nice and is
  • diversity people known for and is cultural nice
  • people diversity for known is and nice cultural
  • cultural people diversity for known is and nice

Comments and Discussion