Title: Directed graph traversal · Issue #292 · algorithmica-org/algorithmica · GitHub
Open Graph Title: Directed graph traversal · Issue #292 · algorithmica-org/algorithmica
X Title: Directed graph traversal · Issue #292 · algorithmica-org/algorithmica
Description: It seems the code given at https://ru.algorithmica.org/cs/graph-traversals/cycle/ incorrectly finds a cycle in the following directed graph: 1->2->3 1->4->3 It goes into dfs, passes the first branch 1->2->3, marks these nodes as used, th...
Open Graph Description: It seems the code given at https://ru.algorithmica.org/cs/graph-traversals/cycle/ incorrectly finds a cycle in the following directed graph: 1->2->3 1->4->3 It goes into dfs, passes the first branc...
X Description: It seems the code given at https://ru.algorithmica.org/cs/graph-traversals/cycle/ incorrectly finds a cycle in the following directed graph: 1->2->3 1->4->3 It goes into dfs, passes the...
Opengraph URL: https://github.com/algorithmica-org/algorithmica/issues/292
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Directed graph traversal","articleBody":"It seems the code given at https://ru.algorithmica.org/cs/graph-traversals/cycle/ incorrectly finds a cycle in the following directed graph:\r\n\r\n1-\u003e2-\u003e3\r\n1-\u003e4-\u003e3\r\n\r\nIt goes into `dfs`, passes the first branch 1-\u003e2-\u003e3, marks these nodes as used, then goes through the second branch and when it gets to the node 3 again it incorrectly assumes there is a cycle. But there is no cycle, the graph is directed.","author":{"url":"https://github.com/me21","@type":"Person","name":"me21"},"datePublished":"2024-06-27T13:36:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/292/algorithmica/issues/292"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4ed2b6c-7a27-ae4d-1eeb-51603b44fdbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8602:2E8D97:27DC300:34A329C:697D5CD5 |
| html-safe-nonce | 56e635be1ffb53b1e0f1f93faa142e435475b3db1282c01eaad2f246f3cc321c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjAyOjJFOEQ5NzoyN0RDMzAwOjM0QTMyOUM6Njk3RDVDRDUiLCJ2aXNpdG9yX2lkIjoiNjQzNDQ2OTc3NTU0NzM5MTE4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 62086fbced2c0469885be3bd71feeab8de8fc2d0648e2f335df6155f18e1c5e4 |
| hovercard-subject-tag | issue:2378184845 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/algorithmica-org/algorithmica/292/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a30ba248b2e520f2f41f1385bef4c20e83457e6f427930914878550a01b426bf/algorithmica-org/algorithmica/issues/292 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a30ba248b2e520f2f41f1385bef4c20e83457e6f427930914878550a01b426bf/algorithmica-org/algorithmica/issues/292 |
| og:image:alt | It seems the code given at https://ru.algorithmica.org/cs/graph-traversals/cycle/ incorrectly finds a cycle in the following directed graph: 1->2->3 1->4->3 It goes into dfs, passes the first branc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | me21 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/algorithmica-org/algorithmica git https://github.com/algorithmica-org/algorithmica.git |
| octolytics-dimension-user_id | 51334463 |
| octolytics-dimension-user_login | algorithmica-org |
| octolytics-dimension-repository_id | 333536823 |
| octolytics-dimension-repository_nwo | algorithmica-org/algorithmica |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 333536823 |
| octolytics-dimension-repository_network_root_nwo | algorithmica-org/algorithmica |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width