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.
Well doneππ»
Yes
Interesting, this was my first solution, but it failed at 41.
According to the test it should return false not true.
First argument β the starting index, Second argument β the ending index (not included in the result)
why is it 1 and not 0, -1?
he's just lazy to write out all the names lmao
I'll say, but keep in mind that this approach is more concise and efficient than your method, especially for larger numbers.
he doesn't use template literals.
Wow... that's insane
You are right. I know you are not supposed to 'invent the wheel again' but this exercise is great to learn algorithmic thinking and complex concepts like recursion.
I think it's better to use this space to do what you wanted to do at first. This is a great exercise to understand and practice algorithms and recursion
it removes the character that was there previously i think
yeah that's the way she goes sometimes. i do these challenges just to nail into my brain the kinds of built in functions you can use, because I hate doing what you did and realizing I spent so much time for no reason. A good rule of thumb is that for 7/8 kyu problems, you generally don't have to reinvent any wheels.
Your codes are very clean
nice
Loading more items...