algorithms
algorithms copied to clipboard
list.add seems to have a minor mistake
I think this should be if l.Len() == index {
https://github.com/arnauddri/algorithms/blob/master/data-structures/linked-list/linked_list.go#L82
if i.Len() <= index
better?
I actually corrected it. here is my pull request https://github.com/arnauddri/algorithms/pull/21