Pergunta de entrevista da empresa Adobe

reverse the string in an array and convert the one alphabet in thta string to uppercase