CONFUSION | HELP NEEDED
Can someone explain why the answer returned for testcase #2 aababab is bbabaa and not bbaabaa even when the latter is lexicographically larger?
Can someone explain why the answer returned for testcase #2 ```aababab``` is ```bbabaa``` and not ```bbaabaa``` even when the latter is lexicographically larger?
[]