Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I can see some of your solution, I do not knwo if it is the most recent one. And yes, I can see a bug in it, which would cause the crash.
As a first step to diagnose the issue, I would recommend recreating the failing test case in your local IDE and debugging trough it. Use your IntelliJ, Eclipse, NetBeans, or whatever is what you use for coding on your computer, and run your solution with the input which Codewars says you can;t handle. Debug through your code, find the place where it crashes.
You can also visit CW Discord and
#help-solve
or#java
channel.Your solution has a bug and crashes with an unexpected exception, it's not a kata issue.