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.
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!
Which SQL is it? It is not working in MS Sql server.
Good solution!
See https://www.postgresql.org/docs/current/queries-values.html
The query is roughly equivalent to
select * from (values (''good''), (''ok''), (''bad'')) as t
.Loading more items...