pretty close to this one. Very glad!
In my first approach I used a switch, and then created an object inside the loop in this one. To my surprise, both have the same performance according to the time it took to finish.
But it isn't how it looks, it's about time complexity. This function fail.
This comment is hidden because it contains spoiler information about the solution
It is bad practice. IndexOf iterates for each search. But could be creative.
it does'nt work with cyrillic symbols
Hey! I got pretty close to this one
We did the same solution!
Yep. (sorry for late reply)
Did you already flag it?
Don't forget to use spoiler flag. I can see this post from dashboard despite not having solved the kata.
Loading collection data...
pretty close to this one. Very glad!
In my first approach I used a switch, and then created an object inside the loop in this one. To my surprise, both have the same performance according to the time it took to finish.
But it isn't how it looks, it's about time complexity. This function fail.
This comment is hidden because it contains spoiler information about the solution
It is bad practice. IndexOf iterates for each search. But could be creative.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it does'nt work with cyrillic symbols
Hey! I got pretty close to this one
We did the same solution!
Yep. (sorry for late reply)
Did you already flag it?
Don't forget to use spoiler flag. I can see this post from dashboard despite not having solved the kata.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...