[LeetCode] 1750. Minimum Length of String After Deleting Similar Ends
Given a string s consisting only of characters ‘a’, ‘b’, and ‘c’. You are asked to apply the following algorithm on the string any number of times: Pick a non-empty prefix from the string s where all