Given a string s consisting only of characters 'a', 'b', and 'c'.
You can apply the following operation on the string any number of times:s.
Return the minimum possible length of s after applying this operation any number of times.
Constraints:
s.length
s only consists of characters 'a', 'b', and 'c'.
Given a string s consisting only of characters 'a', 'b', and 'c'.
You can apply the following operation on the string any number of times:s.
Return the minimum possible length of s after applying this operation any number of times.
Constraints:
s.length
s only consists of characters 'a', 'b', and 'c'.