Correct Answer - Option 2 : 35
Input: All flower very beauty 84 26 32 27
Place values of the first letters of the words are: A = 1, F = 6, V = 22, B = 2
Step 1. very All flower beauty 84 26 32 27
The word whose first letter has the highest place value is shifted to the extreme left end.
Step 2. very All flower beauty 27 32 26 84
84, the largest number among all the numbers is shifted to the extreme right end.
Step 3. very flower All beauty 27 26 32 84
Flower whose first letter has the second highest place value shifts to the left end.
Step 4. very flower beauty All 27 26 32 84
32, the second largest number among all the numbers is shifted to the right end.
Step 5. very flower beauty All 26 27 32 84
Beauty whose first letter has the third highest place value shifts to the left end.
So, the pattern is:
First the word whose first letter has the highest place value shifts to the left end and in the next step the largest number shifts the right end and alternatively this pattern is repeated to obtain the output.
Input: 92 46 Cake All best 35 81 beauty 24 length
Place values of the first letters of the words are: C = 3, A = 1, B = 2, L = 12
Note: When arranged in dictionary order, beauty will come before best, so according to the pattern best must appear in the output before beauty.
Step 1: length 92 46 Cake All best 35 81 beauty 24
Step 2: length 46 Cake All best 35 81 beauty 24 92
Step 3: length Cake 46 All best 35 81 beauty 24 92
Step 4: length Cake 46 All best 35 beauty 24 81 92
Step 5: length Cake best 46 All 35 beauty 24 81 92
Step 6: length Cake best All 35 beauty 24 46 81 92
Step 7: length Cake best beauty All 35 24 46 81 92
Step 8: length Cake best beauty All 24 35 46 81 92
35 will come in the sixth position from the left end in step 7.
Hence, '35' is the correct answer.