← Google questions
CodingReported in a candidate post, Jul 2025

Minimum operations to make string empty by removing consecutive repeating characters

Filed under Google

Given a string, you can remove any contiguous block of repeating identical characters in one operation. Find the minimum number of operations required to make the string completely empty, with an…

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 Google questions

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