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.
To learn the built-in functions. 🪿
Thanks for this question. At first thought I wanted to ask why the hell is this important?!
But then I tested out the performance differences between == and ===. And (at least with my testing
environment (average time spend for 100.000 comparisons x 1000 tries to have an average result in php8.2) I
was able to find out that == needs only 75% execution time of ===. And I learned about a function
I didn't know before. microtime(true);
So thanks again for your great input!
same, but mine solution includes default case
This comment is hidden because it contains spoiler information about the solution
What is the purpose of the test, if you use built-in functions?
Clean af.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Why didnt you had to return 0 in case the array is empty?
Where did you find this character?!
OMG. I was trying the same thing but thought that such a character did not exist!
why using "===" instead of "==" ?
I searched for a char Representation for EQN all over ...so thats it haha
The column names are confused in the solution. Will this code be validated if we swap the designations of the columns "letters" and "numbers". I think yes. This is worth doing. And the validation code itself should be improved.
It works! :)
Thanks.
Loading more items...