Re: Optimal Structure for Inserting and Deleting

Per Bolmstedt <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <LISTSERV%[email protected]>
Brady Kelly:

> I chose a data structure that would preserve ordering during
> inserts, deletes, and swaps, [...] a linked list seemed an
> ideal initial choice.

Frans Bouma:

> So any sorted list does the trick. I'd opt for
> SortedDictionary<K, V> [...] what you want is a sorted list?

Looks like a non-sequitur here; nothing suggests sortedness is desired. A
"linked list" (list, array, ...) sounds right. Right?

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.