There are several bugs/issues in this, for example, the find function returns an undefined value when it doesn't find the node, i.e., it is impossible to tell if a value exists. Furthermore, deleting by index is an O(n2) operation worst case, because the length function is, for whatever reason, an O(n) operation. And it's the only really usable deletion function because there is no find function which returns a node directly.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com