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 comment is hidden because it contains spoiler information about the solution
fixed
Are you guys arguing against the use of regex here really going to be so dense about it? It's a simple exercise to help teach regex. That's all it is. Why not use regex to solve the simple regex exercise?
it took me some time until i figured the -1 and -2 to get the second form the last
you could have used the sum function. dont forget we are lazy.
This is technically best practice, not top one
what's the problem with using a library?
i did that throws error had to check for string len 2 or 3
damn
lol()
Well I call it Best Practices.
These qs are supposed to be debugged not optimized
Same! TIL
A quick word of thanks - I actively learned from this. I appreciate all of you who put this answer in and helped make my code better. :)
Loading more items...