Search
⌘K

Leetcode 1957. Delete Characters to Make Fancy String

Given a lowercase string s, delete the minimum number of characters so that no character appears three times consecutively, and return the resulting (uniquely determined) string.


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.