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.
this was my solution and I am surprised to see other more complicated options with more votes. Whats wrong with this approach?
This is actually clever, well done!
clever
It's a brillant solution.
Great minds think alike :)
not best practice in my opinion but super clever!!!
I had thought a workaround regarding turning the array into a string, apply the reverse on it and then turn it back into an array.
But since this exists on PHP, no real need. Just for the fun of tinkering around with it.
Have exactly the same! Nice! :D
You're welcome :)
Well, the input is defined strictly as
1000 ≤ year ≤ 9000
.what will those guys do with this function in 10000th year
Learned a new method from you, thanks! :)
I had a similar solution, but I didn’t see that it was possible to display the variable $count.Cleanest solution!
it doesnt work try your code again
This is the cleanest solution, i've seen so far. Good one, bruv!
Loading more items...