4 kyu
Organize a Round-robin tournament
363 of 879rubs33
Loading description...
Arrays
Logic
Algorithms
View
Career Accelerator
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Java translation
Thank you
Haskell translation
Good job. Thank you.
Very good Kata! Thanks to author!
Very cool kata! Now I know how tournaments are created:)
I solved this kata, but can anyone tell me what theorems from mathematics or algorithms will help to solve this problem more efficiently?
If you decide, you can look at other users solutions and see different approaches to this problem.
This comment has been hidden.
Helper method makes debugging much nicer. Great kata!
++
Rust translation ready for review.
Whoever is randomly and silently approving translations: please mark the relevant discourse comment as resolved.
Sorry. It was me. I did not know it was needed to mark something else as resolved.
It's also useful for the translator to know that it's been approved, for example I maintain a collection of all my pending translations and getting the notification lets me remove them.
Python Translation ready for review.
It was approved.
Hello. I made the C# translation of this kata. This is my first translation, advices and suggestions are very welcome.
Thanks, Concker88. Nice job. It looks right.
This comment has been hidden.
Try to do with few teams in a paper.
Exceptional Kata! Thanks!
Welcome.
test cases for PHP fail on 20 teams. I know my answer is correct but the test fails.
which error message did you get?
!
The expected array contains a match:
[16, 16]
that should be[17, 18]
This comment has been hidden.
Random testcases added for JavaScript - the tests were already completely parametrised anyway.
PHP tests could use an overhaul in the same way.
It would be more interesting to make a kata for arbitrary number of teams, not only even, so for odd number one team misses one tour...I wanted to do such kata but found this
What's keeping you from creating the follow-up kata?
Besides:
Add one team so you are even, create the schedule, and anyone playing that team has a bye.
Same number of rounds, same everything; it can't be done more efficiently. It doesn't make a diference.