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 only works because of the EVEN amount of repeated numbers.
I learned something new: the params keyword exists, and we can use it to pass an arbitrary number of parameters of the same type, and the function will treat them as an array.
no, this solution about a lot of copiyng
This comment is hidden because it contains spoiler information about the solution
damn you regex !!!
Haha. I dismissed regex, thinking it wouldn't be performant enough.
Damn.
Edit: turns out this simple solution is at least as performant as mine.
Nope it gives Nan
i learn this line from someone's solution.
you can get the same question in "Replace letters" question.
idk is this the name or not, im just paste(ing)
user:- "KenKamau, fenring76, TFeld, ssfellows, jamsyl, Dima806, zatoichi49, thornejosh, mwk48, akar-0 (+ 7)"
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow, you good!
Hmmm
Interesting approach. Haven't seen it before.
Ouch! The time complexity is O(n^3), when it can be done in linear time.
This solution has me stumped. I totally don't get how this works.
Loading more items...