-
Notifications
You must be signed in to change notification settings - Fork 495
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
Update BuildingTeams PySol content/3_Silver/Graph_Traversal.mdx #4917
Conversation
for more information, see https://pre-commit.ci
alright thanks for agreeing to revert ❤️ |
Yep, of course! |
Here are the newest submissions: I couldn't find any optimizations, the code is pretty much exactly the same as the C++ code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Adds new Python Solutions to https://cses.fi/problemset/task/1668/ for content/3_Silver/Graph_Traversal.mdx.
Relates to #3444
Runtimes
DFS (missing Python): https://cses.fi/problemset/result/11118878/ (0.74s)
Previous BFS Sol: https://cses.fi/problemset/result/11118911/ (0.90s)
New BFS Sol: https://cses.fi/problemset/result/11118910/ (0.69s)
Note: Updated/changed the pre-existing Python BFS solution as I had a simpler, faster solution.
Place an "x" in the corresponding checkbox if it is done or does not apply to this pull request.