Search
⌘K

Leetcode 482. License Key Formatting

Remove all dashes and convert letters to uppercase, then reformat the characters into groups of size k (counting from the right) separated by dashes — the first group may be shorter but must have at least one character.


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.