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.
Me,explode,array_filter,array_map and implode after seen this :| :/
nice. I did the same but used preg_match instead of str_replace.
yeah, its a gamechanger if you know this function
This should not be best practice. Abusing global variables to pass information from different closures, i.e. creating side effects, is a big no-no for me.
And of course, the one-liner format makes it extra hard to read.
Just amazing
This comment is hidden because it contains spoiler information about the solution
He solved the hackcodewars kata