- Notifications
You must be signed in to change notification settings - Fork 2
feat(algorithms, arrays): tournament winner #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Tournament winner algorithm to determine wthe winner in a tournament
| Warning Rate limit exceeded@BrianLusina has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 13 minutes and 28 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (5)
WalkthroughThe updates introduce a new "Tournament Winner" problem with its implementation, tests, and documentation. Additional tests are added for the "Sorted Squared Array" algorithm. The DIRECTORY.md file is extensively updated to reflect new problems, tests, reorganizations, and removals across algorithm, data structure, puzzle, and string sections. Changes
Sequence Diagram(s)sequenceDiagram participant User participant TournamentWinnerFunction participant PointsTable User->>TournamentWinnerFunction: Provide competitions, results TournamentWinnerFunction->>PointsTable: Initialize/Update team points per result TournamentWinnerFunction->>PointsTable: Iterate competitions, update scores TournamentWinnerFunction->>User: Return team with highest points Possibly related PRs
Poem
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File ( |
Docstrings generation was requested by @BrianLusina. * #93 (comment) The following files were modified: * `algorithms/arrays/sorted_squared_array/test_sorted_squared_array.py` * `puzzles/arrays/tournament_winner/__init__.py` * `puzzles/arrays/tournament_winner/test_tournament_winner.py`
| Note Generated docstrings for this pull request at #94 |
Describe your change:
Tournament winner algorithm to determine wthe winner in a tournament
Checklist:
Fixes: #{$ISSUE_NO}.Summary by CodeRabbit
New Features
Bug Fixes
Documentation