Bear Bibeault wrote:Huh, I didn't know iTerm2 had this capability either. In fact, I can't even find a way to set it up. Where did you set this up?
Tim Moores wrote:I don't recall iTerm ever having had this functionality. You can use Profiles -> Open All to open all profiles you have set up.
Given a string consisting of a,b and c's, we can perform the following operation: Take any two adjacent distinct characters and replace it with the third character. For example, if 'a' and 'c' are adjacent, they can replaced with 'b'.
What is the smallest string which can result by applying this operation repeatedly