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 agree, but they can also make you familiar with built in functions, specially beginners like me, i love getting to know the bif hands-on!
Thats nice.
This didnt divide number, but check if last bit of it is one.
So must work faster and require less resources.
Yes, it's a good solution in one line, but it does not use memory effective. We have a memory limit exception if parameter $n is huge number (for example, 1 Gb of memory is not enough if $n = 17 millions).
Khabi lame vibes here lol
i don't see any reason to use built in funcions in these kind of exercises, i believe those are meant to practice, to understand how things work, taking these shortcuts doens't teach anything
It's hardtyped PHP this is rather usefull but not requird by PHP.
Best!
This does not work with UTF-8.
Should be fixed now :)
Thanks for the compliment, glad you enjoyed the challenge :D
And thanks for notifying me on the broken link, will be fixing it now :) It became broken because the site admin censored the f-word in the Kata name recently.
@JebPotly you weren't the only one, I too was a bit confused. I consider it to be a part of the exercise though, figuring out what the task on hand actually is.
Anyway, @donaldsebleung: loved the kata! Thanks for providing it :-)
A great challenge, Donald!
FYI, the link to 3rd esolang interpreter challenge is broken on the description page.