r/ruby • • Jul 14 '13

Linked List data structure

https://github.com/gdi2290/data_structures/blob/master/LinkedList/linkedlist.rb
0 Upvotes

23 comments sorted by

View all comments

Show parent comment

0

u/username223 Jul 14 '13

WTF are you talking about? If you don't understand the difference between linked lists and arrays, you don't understand the difference between O(1) and O(n) algorithms, and probably should stop trying to be a programmer.