{"id":19543363,"url":"https://github.com/jonathanyiv/linked_list","last_synced_at":"2026-06-13T12:01:55.164Z","repository":{"id":87536039,"uuid":"100871409","full_name":"JonathanYiv/linked_list","owner":"JonathanYiv","description":"Implementation of Linked Lists in Ruby","archived":false,"fork":false,"pushed_at":"2017-08-20T21:04:18.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T05:33:22.984Z","etag":null,"topics":["linked-list","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/JonathanYiv.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":"2017-08-20T15:42:08.000Z","updated_at":"2017-10-01T06:06:04.000Z","dependencies_parsed_at":"2023-05-10T12:31:39.398Z","dependency_job_id":null,"html_url":"https://github.com/JonathanYiv/linked_list","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JonathanYiv/linked_list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanYiv%2Flinked_list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanYiv%2Flinked_list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanYiv%2Flinked_list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanYiv%2Flinked_list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanYiv","download_url":"https://codeload.github.com/JonathanYiv/linked_list/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanYiv%2Flinked_list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34283391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["linked-list","ruby"],"created_at":"2024-11-11T03:18:28.261Z","updated_at":"2026-06-13T12:01:55.125Z","avatar_url":"https://github.com/JonathanYiv.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linked List Project\n\nThis is my version of implementing the data structure [linked lists](https://en.wikipedia.org/wiki/Linked_list) in ruby.\n\nThis is a project from [The Odin Project](https://www.theodinproject.com/courses/ruby-programming/lessons/linked-lists).\n\n![Linked List Image](/ll.png)\n\n## Installation\n\nOpen your Terminal/Command Line. Navigate to the directory where your version will live. Type in the following:\n\n```\n$ git clone https://github.com/JonathanYiv/linked_list.git\n$ cd linked_list\n$ ruby linkedlist.rb\n```\n\n### Available Methods\n\n```\n#append(data) appends the data to the end of the list\n#prepend(data) prepends the data to the start of the list\n#size returns the total number of nodes in the list\n#head returns the first node in the list\n#tail returns the last node in the list\n#at(index) returns the node at the given index\n#pop removes the last node from the list\n#contains?(data) returns true if the value is in the list\n#find(data) returns the index of the data\n#to_s represents the linked list as a string\n#insert_at(index) lets you insert data at a given index\n#remove_at(index) lets you remove the node at a given index\n```\n\n## Pre-Project Thoughts\n\nOdin has been having me go through various types of data structures and algorithms. \nI find them really fascinating and definitely have a gap of knowledge regarding them.\nImplementing Linked Lists will be beneficial for me to understand how a data structure is built.\n\n## Post-Project Thoughts\n\nThis was definitely one of the more fun projects. In hindsight, there was a lot of redundancy in traversing the linked list. Later on, I may refactor with a #traverse method that accepts a condition block. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanyiv%2Flinked_list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanyiv%2Flinked_list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanyiv%2Flinked_list/lists"}