Forum Navigation
Insert in the middle of a list?
Posted: 03/10/07 06:05:03Ummm... I'm sure this will seem obvious in hindsight, but right now I can't seem to figure out how to insert an item into the middle of an LinkSeq?, using an iterator as a reference point. I see how to add it using an integer index, but it seems like there should be a way to do it using an iterator in an o(1) operation. Am I missing something here?