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.
The longest one should be "6799990100000000019" which is 19 digits. Have you seen something else?
Well, they're consistent and line up now. Still looks bloated on a 4k monitor, but fuck it.
Added, thanks!
I wasn't. I was using this:
Just tried it and looks identical :/ Do you know of any better looking tables on Codewars?
Thanks very much. I found a big gap in coverage from that, which affected all issuers which had multiple non-sequential starting digits.
I'll try to format the tables better, but I'm pretty sure it's out of my hands and down to CodeWar's markdown implementation.
This has been resolved with a description rewrite.
Thanks, updated to not be shit this time! :)
Thanks, Updated examples and description.
Thanks, updated the description. :)
Yeah, I totally forgot to explain that bit. Visa Electron is a subset of Visa. Totally valid issue, thanks!
Thanks, fixed.
Edit: As a note, the more accurate one should take priority (because Dankort specifies to 4 digits that match, it should be that) but I didn't describe that. I'll update the description shortly :)
Good spot. Fixed.
Thanks, done.
Just for futuree reference, the Java reference solution (Dr. Maths solution) takes 2 seconds longer than the JS one (5.3s vs 3.2s).
Adding Thread.sleep(14000); into the test, the reference solution passed with 800ms spare, so warriors should have up to 14000-15000ms to complete the challenge. I can set a timeout for the tests if we want to keep it more inline with the existing JS and Python challenges.
Loading more items...