Skip to content

feat(algorithms, graphs, cheapest-flight): cheapest flight with k stops#194

Merged
BrianLusina merged 2 commits intomainfrom
feat/algorithms-graphs-cheapest-flights
Apr 17, 2026
Merged

feat(algorithms, graphs, cheapest-flight): cheapest flight with k stops#194
BrianLusina merged 2 commits intomainfrom
feat/algorithms-graphs-cheapest-flights

Conversation

@BrianLusina
Copy link
Copy Markdown
Owner

Describe your change:

Algorithm to find the cheapest flight with k stops

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Python files are placed inside an existing directory.
  • All filenames are in all lowercase characters with no spaces or dashes.
  • All functions and variable names follow Python naming conventions.
  • All function parameters and return values are annotated with Python type hints.
  • All functions have doctests that pass the automated testing.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

@BrianLusina BrianLusina self-assigned this Apr 16, 2026
@BrianLusina BrianLusina added enhancement Algorithm Algorithm Problem Documentation Documentation Updates Graph Graph data structures and algorithms Array Array data structure Dynamic Programming Dynamic Programming algorithm labels Apr 16, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 16, 2026

Warning

Rate limit exceeded

@BrianLusina has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 32 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 3 minutes and 32 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9b72a8d3-ec68-48d7-a5f5-30ac8a701da8

📥 Commits

Reviewing files that changed from the base of the PR and between 99f5f91 and 4b31f7a.

📒 Files selected for processing (4)
  • DIRECTORY.md
  • algorithms/graphs/cheapest_flights_with_k_stops/README.md
  • algorithms/graphs/cheapest_flights_with_k_stops/__init__.py
  • algorithms/graphs/cheapest_flights_with_k_stops/test_cheapest_flights_with_k_stops.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/algorithms-graphs-cheapest-flights

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@BrianLusina BrianLusina merged commit 83eee67 into main Apr 17, 2026
4 of 5 checks passed
@BrianLusina BrianLusina deleted the feat/algorithms-graphs-cheapest-flights branch April 17, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Algorithm Algorithm Problem Array Array data structure Documentation Documentation Updates Dynamic Programming Dynamic Programming algorithm enhancement Graph Graph data structures and algorithms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant