← Google questions
CodingReported in a candidate post, Sep 2026

Cut a two-letter string fairly between two people

Filed under Google

You are given a string of only 'a' and 'b' with an even number of each. Make at most two cuts and share the pieces between Alice and Bob so that each person ends up with the same number of 'a's and…

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.