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.
These instructions are not clear. They say "Output GOOD SET if the set is valid.
Else, output BAD SET followed by the first string for which the condition fails."
Is the first string for which the condition fails the string that is a prefix of another string, the string that is prefixed by another string, or the first string that appears ordinally in the input list?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
No Prefix Set
You are viewing a single comment's thread. Return to all comments →
These instructions are not clear. They say "Output GOOD SET if the set is valid. Else, output BAD SET followed by the first string for which the condition fails."
Is the first string for which the condition fails the string that is a prefix of another string, the string that is prefixed by another string, or the first string that appears ordinally in the input list?