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.
:D Well, it's so nice of you to just jump to such insults. I had some "basic programming class"'es many years back and I don't remember a thing from that time - I tried to give you some practical advise so that you don't write crap like that in the future. But hey, it looks like you are the pro and you've got it all covered, so please, excuse me for trying to help you ;-)
Don't ever use $GLOBALS, please :-)
Hah, you did the same misstake as I :D We were supposed to do cubes, not squares ... tests pass anyway :P
... ohh, I did squares instead of cubes and it passed the tests :D :D Here is the correct version https://www.codewars.com/kata/reviews/579c65f63fb8d9634c00043a/groups/58a96184eae77f96be0010df