"Reverse Doubling List", is there another name?
- From: cdiggins@xxxxxxxxxxxx
- Date: 20 Nov 2005 08:05:53 -0800
I am using a abstract data type, which is a linked list of arrays, each
one twice as big as the next. Does anyone know if this data-type
pre-exists under a different name than "reverse doubling list"?
I've discovered that this data type has the property O(1) growth in the
average and worst case, and the property of O(1) indexing in the
average case and O(LogN) in the worst case. Is this a noteworthy
observation, or is it common knowledge amongst theoretical computer
scientists?
If anyone wants more information, I have published an implementation
in C++, along with a brief analysis of the complexity at
http://www.codeproject.com/useritems/fast-stack.asp
Thanks
Christopher Diggins
http://www.cdiggins.com
.
- Follow-Ups:
- Re: "Reverse Doubling List", is there another name?
- From: Torben Ægidius Mogensen
- Re: "Reverse Doubling List", is there another name?
- Prev by Date: Re: "The Art of Computer Programming" by Knuth
- Next by Date: category theory question
- Previous by thread: Filling 2d array in less than O(n^2)?
- Next by thread: Re: "Reverse Doubling List", is there another name?
- Index(es):
Relevant Pages
|