Search
⌘K

Leetcode 966. Vowel Spellchecker

Given a wordlist and queries, implement a spellchecker that for each query returns the exact case-sensitive match if present, otherwise the first case-insensitive match, otherwise the first match when treating vowels (a, e, i, o, u) as interchangeable (case-insensitive); return an empty string if no match.


Question Timeline

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

Comments

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