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.
I like how concise it is. My code is similar but i have to reduce the number of lines used
omg
It's perfectly fine to iterate over the characters of a line looking for the first comment marker. It's even much more efficient in terms of runtime, see my other comment! And it can be beautiful too, have a look at my solution.
Beautiful. I like the idea of iterating over the markers and successively shortening the lines up to each individual marker. It's very elegant, concise, and legible. Note, though, that this wastes a lot of time iterating over the same characters of a line again and again (just imagine long lines with no comment markers at all and a long list of possible markers). But that's ok here for practicing; legibility and interesting ideas can be more instructive than code optimized for performance.
it's so funny seeing how short other's code compared to mine, like I spend so much time on the last task but you did it with 1 line code 💀
Smart!
fantastic
This comment is hidden because it contains spoiler information about the solution
nice move dude
regular expression looks like a bullshit
Could be less than O(n²)... but still nice one
Very clever! haha
But there is no "Z"
Why is it clever?
Very efficient and easy on the eyes, but this code fails case-sensitivity (even though the challenge didn't really specify.) :)
Loading more items...