[Community Puzzle] String Balls II

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Timinator,validated by @Datascientist07,@Lanfeust and @anon35447058.
If you have any issues, feel free to ping them.

I’m stuck on the last two test cases… I have no idea how to handle such large inputs. I’ve learnt so many things and I’m so close, but not close enough.

Just the last two test cases? Are you getting the wrong answer or are you timing out?

@Timinator
I’m timing out. And using Python.

I will send a PM.