usaco-guide
usaco-guide copied to clipboard
Alternate Solution (https://usaco.guide/silver/func-graphs?lang=java#example---badge)
Place an "x" in the corresponding checkbox if it is done or does not apply to this pull request. Updating the changes, as per the comments in this pr: #4335
- [x] I have tested my code.
- [x] I have added my solution according to the steps here.
- [x] I have followed the code conventions mentioned here.
- I understand that if it is clear that I have not attempted to follow these conventions, my PR will be closed.
- If changes are requested, I will re-request a review after addressing them.
- [x] I have linked this PR to any issues that it closes. #4330
bro why'd u close the other pr
This pull request has been automatically marked as stale because it has not had recent activity. Please address the requested changes and re-request reviews. Thank you for your contribution!
bro why'd u close the other pr
Did it by mistake. Please ignore the previous pr. I have updated this pr, with the relevant changes.
im not sure if this is different enough of a solution to justify another section. maybe an info section would be better
bump on kevin's comments too!
This approach is a bit different, kind of a variation. I feel, including multiple approaches and variations to a solution, helps the reader, achieve more clarity of the concepts. Also, this area is collapsible, so it wouldn't hamper the ui aesthetic of the website 😬
im not sure if this is different enough of a solution to justify another section. maybe an info section would be better bump on kevin's comments too!
This approach is a bit different, kind of a variation. I feel, including multiple approaches and variations to a solution, helps the reader, achieve more clarity of the concepts. Also, this area is collapsible, so it wouldn't hamper the ui aesthetic of the website 😬
well, conceptually it's the same right? using floyd to find cycles + filling up the other nodes.
i still think it'd be better as:
<solution 2 code>
It's also possible to use floyd(x) to generate answers for all vertices in the connected component containing x without using adjacency lists. We can do this by ...
<psuedo code of fill_up function>
if @SansPapyrus683 thinks it's fine as it is then that's okay too
This pull request has been automatically marked as stale because it has not had recent activity. Please address the requested changes and re-request reviews. Thank you for your contribution!