{"id":17796298,"url":"https://github.com/munificent/linkedlist","last_synced_at":"2025-04-02T03:19:45.264Z","repository":{"id":1242464,"uuid":"1180796","full_name":"munificent/linkedlist","owner":"munificent","description":"Reversing a linked list","archived":false,"fork":false,"pushed_at":"2010-12-21T00:58:23.000Z","size":96,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T17:48:51.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/munificent.png","metadata":{"files":{"readme":"README","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}},"created_at":"2010-12-18T23:52:01.000Z","updated_at":"2024-12-15T04:47:09.000Z","dependencies_parsed_at":"2022-07-27T16:18:47.573Z","dependency_job_id":null,"html_url":"https://github.com/munificent/linkedlist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Flinkedlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Flinkedlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Flinkedlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Flinkedlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/munificent","download_url":"https://codeload.github.com/munificent/linkedlist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246747265,"owners_count":20827120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-27T11:43:06.617Z","updated_at":"2025-04-02T03:19:45.238Z","avatar_url":"https://github.com/munificent.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Apparently, a common programming interview question these days is to write a\r\nfunction that reverses a linked list. Sometimes they explicitly request a\r\nrecursive or iterative solution. Like most bare data structure programming,\r\ngetting this right is surprisingly finicky (which is why most of us these days\r\nuse nice libraries that provide higher-level abstractions for this).\r\n\r\nJust to make sure I'm keeping my tools sharp, I went ahead and implemented this\r\nin all four permutations of:\r\n\r\n- Recursive or iterative\r\n- In-place or creating a new list\r\n\r\nUnsurprisingly to any functional programmer, the recursive immutable list one is\r\nthe most terse.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmunificent%2Flinkedlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmunificent%2Flinkedlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmunificent%2Flinkedlist/lists"}