Search
⌘K

Leetcode 293. Flip Game

Given a string of '+' and '-', return all distinct strings obtainable by making one valid move: flipping any consecutive "++" into "--". This tests simple pattern scanning and string transformation to enumerate all single-move outcomes.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.