Read the given information and answer the below questions.
Input: erase 47 92 wound limbo 36 prove 85 28 hasty 63 cards
Step 1: woune erase 47 92 limbo 36 prove 85 hasty 63 cards 29
Step 2: provf woune erase 47 92 limbo 85 hasty 63 cards 29 37
Step 3: limbp provf woune erase 92 85 hasty 63 cards 29 37 48
Step 4: hastz limbp provf woune erase 92 85 cards 29 37 48 64
Step 5: erasf hastz limbp provf woune 92 cards 29 37 48 64 86
Step 6: cardt erasf hastz limbp provf woune 29 37 48 64 86 93
Step 6 is the last step.
Find the final output and various steps for the below given input:
Input: bride 39 master 77 61 nocturnal yatch 25 feel 84 18 train
Which of the following is the third element from the right end in step 3 for the above input?
Each step moves the alphabetically last remaining word to the left end with its last letter moved one place forward, and the smallest remaining number to the right end with 1 added.
Step 1: yatci bride 39 master 77 61 nocturnal 25 feel 84 train 19
Step 2: traio yatci bride 39 master 77 61 nocturnal feel 84 19 26
Step 3: nocturnam traio yatci bride master 77 61 feel 84 19 26 40
The third element from the right end in step 3 is 19.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →