Skip to content

andrewbaldwin44/Ruby_Linked_List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Linked List

A Simple Linked List Written for the Odin Project!

Demo

Run on Repl.it

What is a Linked List?

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!

Dependecies

  • Ruby 2.6.5 (or higher)

Run the Project

Clone the repo to your local machine using the terminal:

$ git clone git@github.com:andrewbaldwin44/Ruby_Linked_List.git
  1. Navigate into the project directory cd Ruby_Linked_List
  2. Run the demo ruby bin/linked_list_demo.rb

Author

👤 Andrew Baldwin

Releases

No releases published

Packages

No packages published

Languages