Author: Dann Corbit
Date: 12:13:13 04/07/99
I have seen some discussion on using linked lists for things. If you want to use linked lists, I would suggest skiplists. They use only about 1.3 pointers per element, give random access which is O(log2(n)), and are very simple. They were invented by Bill Pugh, and a web search will turn up code for one in most any language. Sequential access is still O(1) also. I have a C++ template I use for them. They should have been added to the STL. Shrug.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.