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.
definitely the cleanest version of these solutions, although I feel people will vote for something more cheeky..
this was crazy difficult and all the answers are outrageously different. not sure I learned anything from this besides cracking codes is really hard.
Ranks can't be changed for old katas with high completions
The JavaScript solution was very good practice for me -- I thought it was going to be a cake walk but I had to think hard!
probably a 7kyu? if this was the first problem I saw when I opened codewars I would cry
I guess 8kyu for the long way, but right way is definitely at least 7kyu
Merged.
C: in the random tests, the user function is tested against itself
fork fixing it, also clearing a warning and moving the testing code out of preloaded
After a quick scan, I only found C, C++, coffeescript and JS to have some kind of restrictions. The way I see it, either those translations should be softened, or every other translation should be updated, but then shouldn't it be 6 kyu? Nasty situation overall :/
But why are JS tests so restrictive? Many other translations don't require any optimizations, and that makes sense for 7kyu.
You can choose literally every other kata to solve, you do not need to solve math kata if you do not like them :)
The kata is labelled with
Regex
, and you chose to avoid it :PThat's literally the point of this exercise: to validate the inputs. In the context of ATMs maybe it's not so accurate (probably impossible), but from 3rd example in description it should be clear that theoretically any data could be in input.
It seems fine for 7kyu, especially if you use regex.
I do not believe this is 7kyu and my answer was NOTHING like the common answer. Also, this example is very strange because in what world are people entering PINs like -1.234?
Are we trying to learn to code or doing a math class? why test giant numbers that require optimizaton of code on a 7 kyu?
absolutely no reason for this to be 8 kyu or have that high of a satisfaction rating. this isn't math class what are we doing?
Loading more items...