← Goldman Sachs questions
CodingReported in a candidate post, Jul 2021

Valid Word Check with Sticky Keys

Filed under Goldman Sachs

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.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.