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.
So how come in the example:
aab aac aacghgh aabghgh is BAD SET ---> aacghgh
But in the test:
aa a is Bad SET ---> a
So shouldn't the first example have been aab? Ugh. At least got some coding practice to what I thought the definition to be. Not satsifyingly passing their test cases ha.
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 →
So how come in the example: aab aac aacghgh aabghgh is BAD SET ---> aacghgh
But in the test: aa a is Bad SET ---> a
So shouldn't the first example have been aab? Ugh. At least got some coding practice to what I thought the definition to be. Not satsifyingly passing their test cases ha.