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.
there is actually no need to save into variables the functions in our answers to these exercises, as we're not asked to then use them as parameters in higher order functions, so we can use a function expression, rather than a function declaration (plus, especially with the concise arrow syntax, we can use functions diretly as argumemts in other functions, or define and call them at the same time as an IIFE, eg. ((n)=> {console.log(n=5);}10); that logs 15)
Good job here !
love the simplicity
very clean man
i did same.
this is what I tried to do!
clean code
I used a really long winded recursion implementation and I feel so stupid looking at this
nice one
It's not faster, if you run the code, you'll notice that the time varies a lot between one and the other, sometimes one is faster and sometimes the other, and endswith is written in C for performance.
I was really struggling with the iterative solution, but this is so cool.
Congrats! Beautiful code!
Great solution! Thanks!
cant believe i did the same thing first try im proud of myself
y'all wow!, so clean
Loading more items...