A Simple Linked List Written for the Odin Project!
A Linked List is a fundamental data structure which functions very similar to the Ruby Array. The benefit of a linked list is that the elements can easily be inserted or removed without reallocation of any other elements.
This project uses a simple linked list, meaning each element is only aware of the data it holds, and the element that comes next
.
Linked Lists are not really necessary in Ruby. This Project is only meant for practice!
- Ruby 2.6.5 (or higher)
Clone the repo to your local machine using the terminal:
$ git clone git@github.com:andrewbaldwin44/Ruby_Linked_List.git
- Navigate into the project directory
cd Ruby_Linked_List
- Run the demo
ruby bin/linked_list_demo.rb
👤 Andrew Baldwin
- Github: @andrewbaldwin44