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.
It took me a while to get to the solution, but great challenge.
i don't get why this is considered as a best practice. the code is very hard to read; please use descriptive yet short variable names next time. you can get a cleaner solution also by using a recursion, which i consider is better than having so much nested loops. check my solution
try too hard
check my solution. What think about that.
very complicate your solution
Clever? Absolutely. Best Practices? not really. Better practices than my answer for sure, but I wish every JS answer on code wars wasnt a competition to make the shortest code. Not the author's job to teach others, but ppl shouldnt vote things like that as best practices.
Semi-related -- the highest voted answer to why they used 'd|0' doesn't answer the question. They did that instead of 'parseInt(d)''. It works for small numbers. Past a certian value, it can start giving the wrong number or sign.
Easy representation of the keypad. I love it.
concise, briliant, unfortunately hard to understand
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution