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.
Thanks a lot! Didn't know that CodeWars is using importing mechanism.
You have to import what you need.
Is the compiler not accepting Arrays class? I had issues with my solution using Arrays.stream or Arrays.sort, so I have copied to the compiler the top solution and it didn't get through as well because of Arrays. metods.
Error message that I get:
"error: cannot find symbol
Arrays.sort(aa);"