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.
your code runs succesfully ,
but i did not understand how can this work , i mean we have to count possible substring and their occurence but how can counting chars gives accurate answer with no error, and my code gives run time error , please explain this .
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Minion Game
You are viewing a single comment's thread. Return to all comments →
your code runs succesfully , but i did not understand how can this work , i mean we have to count possible substring and their occurence but how can counting chars gives accurate answer with no error, and my code gives run time error , please explain this .