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'm sorry. I didn't know
Remember marking your post as having spoiler content when you post code like that.
Thank you so much)
Check your stacktrace - it tells you that fails on this line:
int one = (int)temp[0];
Add some println to prove for yourself that
arr.length
is 1[""]
,temp.length
is 0,temp[0]
is out of bounds...This comment is hidden because it contains spoiler information about the solution