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.
Silly me, I've made a mistake of actually deleting from strings, when all I had to do is count the number of delete operations needed. Once the code was changed to ONLY COUNT, additional test cases were passed easily.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Alternating Characters
You are viewing a single comment's thread. Return to all comments →
Silly me, I've made a mistake of actually deleting from strings, when all I had to do is count the number of delete operations needed. Once the code was changed to ONLY COUNT, additional test cases were passed easily.