We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This problem is not clear enough, for starters in the problem it says to find the smallest lexicographical string A, but by reading these comments it seems that the real goal is to find the original string A, so which is it???
I mean, does one have to find the smallest lexicographic inside string S or does one has to find the original string A in S?
Cookie support is required to access HackerRank
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 →
This problem is not clear enough, for starters in the problem it says to find the smallest lexicographical string A, but by reading these comments it seems that the real goal is to find the original string A, so which is it??? I mean, does one have to find the smallest lexicographic inside string S or does one has to find the original string A in S?