The following question was asked in an online assessment by Goldman Sachs, for Engineering undergrads.
If "AQUARIUMS" is coded as "CCKOSTUWW", then what is the code for "BARBIEQUE"?
- DCTDKGSWG
- CDGKSTWDG
- CDDGGKSTW
- DCGKSTWDG
I tried solving it in the following way:
- First, I spilt up the word Aquariums from the middle in 2 halves.
- Next, I found out that each letter in coded word is replaced by it's second sucessor (accoording to English alphabets).
A Q U A | R | I U M S [initial codeword]
C C K O | S | T U W W
^ ^ ^ ^ ^ ^ ^ ^ ^
A A I M | Q | R S U U [codeword after rearrangement]
However, using this logic, I couldn't deduce any meaningful soultion that would match the given options.
Sort the letters alphabetically:
$$BARBIEQUE\to ABBEEIQRU$$
Now replace each letter with the letter two places forward ($A\to C, B\to D\ldots$):
$$ABBEEIQRU\to CDDGGKSTW$$
so the right answer is $3$.