module Algorithmable::DataStructs::LinkedList
Public Instance Methods
new_doubly_linked_list(collection = [])
click to toggle source
# File lib/algorithmable/data_structs/linked_list.rb, line 14 def new_doubly_linked_list(collection = []) Doubly.new collection end
new_singly_linked_list(collection = [])
click to toggle source
# File lib/algorithmable/data_structs/linked_list.rb, line 10 def new_singly_linked_list(collection = []) Singly.new collection end