Q:
A word arranging device rearranges words step-by-step in a particular order according to set of rules. The device stops when the final result is obtained.
Input: but going for crept te light sir
Step 1: crept but going for te light sir
Step 2: crept going light but for te sir
Step 3: crept going light but for sir te
And Step 3 is the last step for this input. Now, find out an appropriate step in the following question following the above rules.
Question:
Input: more fight cats cough sough acts idea
What will be the last step for this input ?
Answer & Explanation
Answer: A) cough fight sough acts cats idea more
Explanation: Carefully obsrving the given arrangement, we find the following pattern:
We observe that,first all the words with the highest number of letters are arranged in the alphabetical order, followed by the words with the second highest number of letters and so on.However, the position of only one word is altered at each step.
Input: more fight cats cough sough acts idea
Step1: cough more fight cats sough acts idea
Step2: cough fight more cats sough acts idea
Step3: cough fight sough more cats acts idea
Step4: cough fight sough acts more cats idea
Step5: cough fight sough acts cats more idea
Step6: cough fight sough acts cats idea more
Hence, the answer is A
View Answer
Report Error
Discuss