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.
- Prepare
- Python
- Strings
- The Minion Game
- Discussions
The Minion Game
The Minion Game
Sort by
recency
|
1268 Discussions
|
Please Login in order to post a comment
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 :(
I love how it challenges players to think strategically about the substrings they create. Kevin's advantage lies in finding those vowel-starting gems, while Stuart gets to maximize consonant-starting substrings. fairplay 24 login
This is pretty straightforward because we just need to return the total scores (counts), and not the actual breakup of scores per substring. I am trying to shorten my code. But as of now, this is it.