Search
⌘K

Leetcode 3374. First Letter Capitalization II

Transform each content_text so every word's first letter is uppercase and the remaining letters lowercase, treating hyphen-connected segments as separate parts to capitalize individually (e.g., "top-rated" → "Top-Rated"), while preserving all other spacing/formatting; return the table with original_text and converted_text.


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.