Pergunta de entrevista da empresa Golden Frog

"Write a subroutine, function, or method that takes an array of characters and returns an array of the same characters in reversed order with every consonant between 'a' and 'z' lower cased and every vowel between 'a' and 'z' upper cased."

Respostas da entrevista

Sigiloso

11 de out. de 2012

While this question asked to manipulate the lowercase letters only, the hiring manager expects the uppercase letters to be manipulate too. So, the answer they expect is not the one that answers the question posed.

Sigiloso

25 de nov. de 2014

That question is crystal clear. Obviously the uppercase letters will need to be manipulated as well.