Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I die a little inside

Name: Anonymous 2006-12-28 18:02

Every time someone adds an element to the end of a linked list.

Name: Anonymous 2006-12-31 8:47

>>12
Appending to head of linked list == O(1)
Appending to end of linked list == O(n)

Or just use a doubly-linked list.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List