Mobiversa interview question

reverse string to find vowels count