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.
Added in latest fork
This comment is hidden because it contains spoiler information about the solution
No, I did not use this one. The one you linked describes Round Robin, the ones I used listed three or so other algorithms and did not involve round robin.
I cannot find it now tho.
2 years later its like 2 chicken wings 8|
This comment is hidden because it contains spoiler information about the solution
@hobovsky could you please share a link to those algorithms?
You have to write you own custom exception class:
https://docs.python.org/3/tutorial/errors.html
https://docs.codewars.com/curating/kata/#review
I've tried some RR solutions from Zombie apocalypse kata here, and it managed to pass in ~10 seconds, so on a verge of timing out, but still doable. Maybe you need to improve your implementation?
My solution is slightly faster than RR, runs in ~8.5s, and is based on another algorithm found in some scientific paper on the topic. The paper contained a couple of more algorithms, but I could not get them working, only the most basic one (but, apparently, still sometimes better than RR).
Generally, there's quite a few materials and papers online with various approaches to the problem, up to some insanely high values (and equally insane algorithms).
About ranks, you are right, they cannot be changed in an easy way. But since this kata has not many solutions yet, maybe something could be done. It would hjust have to be decided which kata shold be taken in what direction.
Maybe in the case of chickenwings it's not a unit, instead it could be a portion or plate of chickenwings.
You should specify the language - python.
It's only 'broken' due to python translation being vulnarable to input modification. It's still an issue, but you should be able to clarify the issue in more detail.