Skip to content

tonycho/linked_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Author

Tony Cho

Project Summary

Linked list in Ruby. Please feel free to use it and let me know if you have any questions

Sample Code

require './linked_list'

list = LinkedList.new
list.push(1)
list.push(2)
list.push(3)
list.push(4)
list.push(5)

list.remove(4)

list.pop()

list.to_a.each do |object|
  p object
end

Contributing Changes

  1. Fork it.
  2. Create a branch (git checkout -b event_admin)
  3. Commit your changes (git commit -am "Your message")
  4. Push to the branch (git push)
  5. Open a [Pull Request][1]

Releases

No releases published

Packages

No packages published

Languages