Editorial for April Fools' Day Contest 1 P2 - Sample Case


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Author: maxcruickshanks

Realize that you need to map the 8 letters to new indices according to the sample input and output.

Time Complexity: \mathcal{O}(8)


Comments

There are no comments at the moment.