Hey,
I thought I could use this to do day 20 of Advent of Code but the absence of these methods makes it a bit annoying.
- Be able to remove and retrieve any item just like
remove(), but probably on Cursor
- Be able to insert an item at any point in the list, which I can now do probably by splicing lists in weird ways
Isn't the idea of a linked list that these kind of mutations should be relatively cheap?
Looks great otherwise!
Hey,
I thought I could use this to do day 20 of Advent of Code but the absence of these methods makes it a bit annoying.
remove(), but probably on CursorIsn't the idea of a linked list that these kind of mutations should be relatively cheap?
Looks great otherwise!