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.
Nice series.
Either could have worked. Approved with 2D array.
Awesome kata, thank you! I absolutely love both the challenge and the historic introduction.
You can use
console.log
to print the data to stdout.Implemented suggestions here
Disabled the int-str conversion limit
Minor description & test touch up
Used
l
instead ofn
as parameter name following the description & test namesThe numbers are actually correct
Try not to use the editor for approved kata, makes managing things a pain in the arse since it's completely opaque as to what changes were made and when without opening the edit panel yourself (and thereby forfeiting the kata).
Ah, my bad.
It's approved now, thanks.
The kata is vulnerable to simple exploits like this:
(https://www.codewars.com/kata/reviews/65f8713d2a5c600001d40e8a/groups/66a7f0443fd52196719dc60a#66d498d675252935bab4bdbf)
This is an attempt to fix the issue by converting
Tester
to a function factory.That's probably because the kata was changed after this fork was published (fixing Kayleigh's issue above).
I republished the fork: https://www.codewars.com/kumite/66d71fe89cee54b0364ef568?sel=66d71fe89cee54b0364ef568
Happy to merge this fix but clicking 'Approve' does not seem to do it
Python: Kata is vulnerable to certain exploits.
Details and proposed fix: https://www.codewars.com/kumite/66d5bb6300f911da4ce22e12?sel=66d5bb6300f911da4ce22e12
The kata is vulnerable to simple exploits like this:
(https://www.codewars.com/kata/reviews/65f8713d2a5c600001d40e8a/groups/66a7f0443fd52196719dc60a#66d498d675252935bab4bdbf)
This is an attempt to fix the issue by converting
Tester
to a function factory.Attempt to solve this with function factory: https://www.codewars.com/kumite/66d5bb6300f911da4ce22e12?sel=66d5bb6300f911da4ce22e12
I think it is. Perhaps it could be prevented by making
test
a proxy object that delegates__call__()
to the realTester
object ?Loading more items...