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.
The input "aabbbccc" is not a valid one cz at least 2 characters has to be removed to make this valid. But the editorial solutions consider this input as "valid". How's that possible? Am I missing something obvious here?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and the Valid String
You are viewing a single comment's thread. Return to all comments →
The input "aabbbccc" is not a valid one cz at least 2 characters has to be removed to make this valid. But the editorial solutions consider this input as "valid". How's that possible? Am I missing something obvious here?