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.
Yep. It's still wrong. Test case "abbac" should be NO, because you need to remove 2 characters in order for it to be a valid string, and my programs reutrns NO, but the test is expecting YES, and it doesn;t let me pass. It's a bit annoying.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Concatenate
You are viewing a single comment's thread. Return to all comments →
Yep. It's still wrong. Test case "abbac" should be NO, because you need to remove 2 characters in order for it to be a valid string, and my programs reutrns NO, but the test is expecting YES, and it doesn;t let me pass. It's a bit annoying.