![]() |
|
#1
|
|||
|
|||
STL list of list with jump backHi, i need to create a list of list in STL where each element can move from a given list level to the adjacent list.
i.e. | -> x -> y -> z | -> a -> b can be modified to | -> x -> y | -> z -> a -> b the idea is that element can jump back the head of each list and then acces the other adjacent list (below). Space is not an issue: I accept the cost of the back pointer. But operation should be done in O(1). What is the best way to describe this in STL? |
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 13:12 |
| adding to linked list from external file | cghv | C Programming Language | 3 | 09-Mar-2005 13:36 |
| link list help | ohMan | C Programming Language | 1 | 04-Aug-2004 04:43 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 15:13 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The