Given a target string and a dictionary of valid words, determine if the target string matches any valid word after collapsing consecutive duplicate characters caused by sticky keyboard keys.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.