{"id":17967872,"url":"https://github.com/simonprickett/clinkedlist","last_synced_at":"2025-06-16T09:16:10.286Z","repository":{"id":149219021,"uuid":"44142887","full_name":"simonprickett/clinkedlist","owner":"simonprickett","description":"C Linked List Mentoring Work","archived":false,"fork":false,"pushed_at":"2018-09-21T17:48:48.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T21:34:11.320Z","etag":null,"topics":["c","data-structures"],"latest_commit_sha":null,"homepage":"https://simonprickett.dev/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonprickett.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2015-10-13T00:58:53.000Z","updated_at":"2020-04-17T01:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5c2f8f8-192a-4cec-b2af-7372d82b495f","html_url":"https://github.com/simonprickett/clinkedlist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonprickett/clinkedlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fclinkedlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fclinkedlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fclinkedlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fclinkedlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonprickett","download_url":"https://codeload.github.com/simonprickett/clinkedlist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Fclinkedlist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260131833,"owners_count":22963457,"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":["c","data-structures"],"created_at":"2024-10-29T14:09:55.489Z","updated_at":"2025-06-16T09:16:10.186Z","avatar_url":"https://github.com/simonprickett.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C Linked List\n\nC Linked List mentoring work.\n\n## Folder: codequestions\n\n### Instructions\n\n```\ncd codequestions\nmake clean\nmake\n./listdemo\n```\n\n### Questions\n\n* Explain the structure of the code, why ```list.h``` and ```list.c```\n* How is ```main.c``` able to use functions from ```list.c```?\n* Why do ```list_remove_at```, ```list_prepend``` and ```list_free``` take a ```struct list_node **```\n* Why do the other functions take a ```struct list_node *```\n* Explain how ```list_remove_at``` works\n* What does ```list_free``` do and why should we use this?\n* Explain how ```list_size_recursive``` works\n* Could any of the other list functions be made recursive?\n* Why is there a ```do { ... } while(condition);``` loop in list_print rather than a ```while(condition) { ... }```\n* Draw a pictorial representation of a list with the following nodes stored in it: 6, 7, 8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonprickett%2Fclinkedlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonprickett%2Fclinkedlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonprickett%2Fclinkedlist/lists"}