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 comment is hidden because it contains spoiler information about the solution
There're already enough.
Thanks man, this is really helpful for noobies like me.
Putting '+' before a string which represents a number will coerce that string into a number, but that's not best practice as it isn't as readable as other methods.
This comment is hidden because it contains spoiler information about the solution
Example subsequence
Subsequences of "abc" = "a", "b", "c", "ab", "ac", "bc"
"ac"!
thanks man!
[3, 2, 3, 7, 7, 0].numberOfOccurances(3) // returns 2
This comment is hidden because it contains spoiler information about the solution
It's the equivalent of:
Arrow-functions (also called lambda-functions elsewhere) are a cornerstone of functional programming. They make declaring simple functions so much easier.
This comment is hidden because it contains spoiler information about the solution
I have been learning Python for the last two years (CodeWars has helped me a lot!). But I have only really been messing around with JavaScript for less than two months.
Mostly I try to solve (or think about solving) the kata using Python and then translate it into JavaScript. Then I get to look at other solutions and see much better ways!
thanks for the help, im new to ruby :)
Thanks.
I guess it is obvious that I am very new to JavaScript. I still have a lot to learn.
I like your solution though, it seems very easy to follow!
Loading more items...