A word is coded as 'YELLOWS' if 'Y' is the last letter of the alphabet and 'S' is the last letter of the word. How is 'PURPLE' coded?
Q1. A word is coded as 'YELLOWS' if 'Y' is the last letter of the alphabet and 'S' is the last letter of the word. How is 'PURPLE' coded?
Answer: ELPURP
Explanation: Reversing the word and appending the last letter: PURPLE -> ELPRUP, last letter 'E' is appended.