{"id":24309657,"url":"https://github.com/nelsonbn/algorithms-data-structures-linked-list","last_synced_at":"2026-04-21T01:02:25.456Z","repository":{"id":227153485,"uuid":"770586629","full_name":"NelsonBN/algorithms-data-structures-linked-list","owner":"NelsonBN","description":"Algorithms and Data Structures - Linked List","archived":false,"fork":false,"pushed_at":"2025-03-02T13:29:06.000Z","size":599,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T14:28:40.893Z","etag":null,"topics":["algorithms","algorithms-and-data-structures","data-structures","linked-list"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NelsonBN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-11T20:02:16.000Z","updated_at":"2025-03-02T13:29:10.000Z","dependencies_parsed_at":"2024-03-21T01:39:46.062Z","dependency_job_id":"2ce4af66-fc7a-4700-8011-26039cb4a640","html_url":"https://github.com/NelsonBN/algorithms-data-structures-linked-list","commit_stats":null,"previous_names":["nelsonbn/algorithms-data-structures-linked-list"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NelsonBN/algorithms-data-structures-linked-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonBN%2Falgorithms-data-structures-linked-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonBN%2Falgorithms-data-structures-linked-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonBN%2Falgorithms-data-structures-linked-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonBN%2Falgorithms-data-structures-linked-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NelsonBN","download_url":"https://codeload.github.com/NelsonBN/algorithms-data-structures-linked-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NelsonBN%2Falgorithms-data-structures-linked-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","algorithms-and-data-structures","data-structures","linked-list"],"created_at":"2025-01-17T05:16:03.278Z","updated_at":"2026-04-21T01:02:25.422Z","avatar_url":"https://github.com/NelsonBN.png","language":"Python","readme":"# Algorithms and Data Structures - Linked List\n\n\n## Singly Linked List\n\n\n**Node:**\n```mermaid\nclassDiagram\n    class Node {\n        data\n        next\n    }\n```\n\n**Linked List:**\n```mermaid\ngraph LR\n    A[Head] --\u003e B[Node]\n    B --\u003e C[Node]\n    C --\u003e D[Node]\n    D --\u003e E[Node]\n    E --\u003e F[Node]\n    F --\u003e G[Node]\n```\n\n## Demos:\n- [Singly Linked List](./src/singly_linked_list.py)\n- [Singly Linked List Operations](./src/singly_linked_list_operations.py)\n- [Singly Linked List Operations Optimized](./src/singly_linked_list_operations_optimized.py) -\u003e Some operations are optimized to O(1) time complexity. Example. Adding a node to the end of the list, length of the list.\n- [Rotate Linked List](./src/rotate_linked_list.py)\n- [Fast and Slow Pointer](./src/fast_and_slow_pointer.py)\n- [Identifying Cycles](./src/identifying_cycles.py)\n- [Floyd Cycle](./src/floyd_cycle.py)\n\n### Rotating a Linked List\n\n![Rotate Linked List](./media/reversing_linked_list.webp)\n\n\n## References\n- [Other Algorithms \u0026 Data Structures](https://github.com/NelsonBN/algorithms-data-structures)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelsonbn%2Falgorithms-data-structures-linked-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnelsonbn%2Falgorithms-data-structures-linked-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelsonbn%2Falgorithms-data-structures-linked-list/lists"}