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.
i got the same got from chatgpt as below , after trying this for hour. I generated all possible substring from string , number of occurance of sub in man string , then count , took me an hour , then gpt said this is not that kind of problem :( .
and it gave exact code . wasted 1.5 hours :(
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 →
i got the same got from chatgpt as below , after trying this for hour. I generated all possible substring from string , number of occurance of sub in man string , then count , took me an hour , then gpt said this is not that kind of problem :( . and it gave exact code . wasted 1.5 hours :(