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.
Please mark your post as having spoiler content next time. Your post was visible in the homepage discourse.
This comment is hidden because it contains spoiler information about the solution
That one makes me feel stupid for wasting time and memory on my code :'D
Brilliant man !!
totally got stumped by an 8 kyu. dam
DAMN
This comment is hidden because it contains spoiler information about the solution
I'll say.
I just happened to see some examples of how this function worked yesterday otherwise my code would've been a lot longer im sure 😅
This comment is hidden because it contains spoiler information about the solution
Haha, same
Same. I also overcomplicated it
Mutating an argument is the worst thing you can do.
Agreed, I first solved it in Python and while I am fluent with most of the string methods after years of Python, I had forgotten about this one in absence of practice and solved it with less advanced features and alorithmic logic. Built-in methods are just masked hardwork of creators, and they can indeed be less efficient in cases and you would needa use your own logic!
Damn it! lmao I didn't know that method exists, Nice!! I'm going to add this to my future references thank you very much!
This comment is hidden because it contains spoiler information about the solution
Loading more items...