Search
⌘K

Leetcode 520. Detect Capital

Check whether a word's capitalization follows one of three valid patterns — all letters uppercase, all lowercase, or only the first letter uppercase — and return true if it matches any of these cases.


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.