Title: remove_by_value implementation in singly_linked_list_exercise.py · Issue #54 · codebasics/data-structures-algorithms-python · GitHub
Open Graph Title: remove_by_value implementation in singly_linked_list_exercise.py · Issue #54 · codebasics/data-structures-algorithms-python
X Title: remove_by_value implementation in singly_linked_list_exercise.py · Issue #54 · codebasics/data-structures-algorithms-python
Description: https://github.com/codebasics/data-structures-algorithms-python/blob/master/data_structures/3_LinkedList/Solution/singly_linked_list_exercise.py Proposed below : if not self.head: return if self.head.val == value: self.head = self.head.n...
Open Graph Description: https://github.com/codebasics/data-structures-algorithms-python/blob/master/data_structures/3_LinkedList/Solution/singly_linked_list_exercise.py Proposed below : if not self.head: return if self.he...
X Description: https://github.com/codebasics/data-structures-algorithms-python/blob/master/data_structures/3_LinkedList/Solution/singly_linked_list_exercise.py Proposed below : if not self.head: return if self.he...
Opengraph URL: https://github.com/codebasics/data-structures-algorithms-python/issues/54
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"remove_by_value implementation in singly_linked_list_exercise.py","articleBody":"https://github.com/codebasics/data-structures-algorithms-python/blob/master/data_structures/3_LinkedList/Solution/singly_linked_list_exercise.py\r\n\r\nProposed below : \r\n```\r\n if not self.head:\r\n return\r\n\r\n if self.head.val == value:\r\n self.head = self.head.next\r\n return\r\n\r\n itr = self.head\r\n prev_node = None\r\n while itr:\r\n if itr.val == value:\r\n prev_node.next = itr.next\r\n prev_node = itr\r\n itr = itr.next\r\n```","author":{"url":"https://github.com/satadrubasu","@type":"Person","name":"satadrubasu"},"datePublished":"2022-05-11T05:33:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/54/data-structures-algorithms-python/issues/54"}
| 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:26b6ebc9-5328-5dd4-f77a-31ebebc1ff0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A444:216B79:633799:82B799:696B456D |
| html-safe-nonce | 779368f381507f1c7bedd21f13ea0ea5f64f0ef5737ed88add0f610bfbf4c066 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDQ0OjIxNkI3OTo2MzM3OTk6ODJCNzk5OjY5NkI0NTZEIiwidmlzaXRvcl9pZCI6IjIzNzYyMzc3Njk3NzY5MDc2MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8fa594340484982bc125cf258116aa3f5324adbf60394cca93920f497ffcd140 |
| hovercard-subject-tag | issue:1232031379 |
| 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/codebasics/data-structures-algorithms-python/54/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f4af9e39a33bd460e54f8a6ae6ad200243c3ecf8b7c4d00837ac7459e282725/codebasics/data-structures-algorithms-python/issues/54 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f4af9e39a33bd460e54f8a6ae6ad200243c3ecf8b7c4d00837ac7459e282725/codebasics/data-structures-algorithms-python/issues/54 |
| og:image:alt | https://github.com/codebasics/data-structures-algorithms-python/blob/master/data_structures/3_LinkedList/Solution/singly_linked_list_exercise.py Proposed below : if not self.head: return if self.he... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | satadrubasu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/codebasics/data-structures-algorithms-python git https://github.com/codebasics/data-structures-algorithms-python.git |
| octolytics-dimension-user_id | 16063416 |
| octolytics-dimension-user_login | codebasics |
| octolytics-dimension-repository_id | 299539326 |
| octolytics-dimension-repository_nwo | codebasics/data-structures-algorithms-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 299539326 |
| octolytics-dimension-repository_network_root_nwo | codebasics/data-structures-algorithms-python |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width