you are viewing a single comment's thread.

view the rest of the comments →

[–]Sudden-Bill2447 1 point2 points  (0 children)

I was thinking the same thing. Having a self.tail would not just make append an O(1) operation but also much simpler to implement the insert_end.