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.
That's awesome! :)
Thanks for writing the translation!
I'm glad you liked it. Thanks! :)
haha thanks!
Well I completely forgot about this code I wrote. Nedless to say, this is not something I'd write in production code! 😅
You are completely right This would improve a bit the performance.
Thanks for the tip! :)
I'm glad you liked it! :)
Actually I had to struggle a bit until using that trick. I read all the documentation I could find about regexes and finally found something similar in StackOverflow. Regexes are so powerful! :)
I understand your suggestion. How would you clarify it?
1.
Any single 'i' followed...
2.
Any single letter 'i' followed...
3.
Specially for letter 'i', when followed...
4.
Given the special behavior of letter 'i', when followed...
Please, let me know how you think it best clarified to improve the description.
Thank you for your suggestion! :)
Great! I'm glad you liked it! :)
Very clever replacing at the beginning all the [] and {} with standard brackets! I had a headache matching the same opening and closing type of brakets with regex...
Nice solution! :)
Best approach that I've seen here. Very original! :)
Thank you for the explanation! I'm learning a lot from your solutions.
I saw the ~~ once, but I didn't know what was that. I think I still have a long walk before I understand the logic behind bitwise operations...
Thanks! :)
Nice arrow function there! ;)
Hey! nice solution there :)
It's the first time that I see
!!
in a boolean expression. What is that used for?Thanks! :)
Nice solution again!
I see that you are not using Math.floor, but at the same time you're using
|0
at the end of the expression. Is that used for "flooring" the result?You've done it again! that
d.replace('km','000')
is just great.One question, how is your code working with input distance given in meters?
I agree with that. A few random tests would be better to test if the solutions actually work
Loading more items...