Search
⌘K

Leetcode 824. Goat Latin

Transform each word by leaving leading vowels but moving a leading consonant to the end, then append "ma" and an increasing number of 'a' characters equal to the word's 1-based index; rebuild and return the sentence. Ensure vowel checks are case-insensitive and preserve original word capitalization.

Asked at:

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid June, 2025

Meta

Senior

Comments

Your account is free and you can post anonymously if you choose.