Search
⌘K
Get Premium
Leetcode 3456. Find Special Substring of Length K
Check whether s contains a contiguous substring of exactly k identical characters such that the characters immediately before and after that block (if they exist) are different from the block's character.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.