You are viewing a single comment's thread. Return to all comments →
Can some please explain when, string = "abcdefgabcdefg";
then how is "agfedcb" the lexicographically smallest .
shouldn't it be "abcdefg" ??
Seems like cookies are disabled on this browser, please enable them to open this website
Reverse Shuffle Merge
You are viewing a single comment's thread. Return to all comments →
Can some please explain when, string = "abcdefgabcdefg";
then how is "agfedcb" the lexicographically smallest .
shouldn't it be "abcdefg" ??