Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Multidimensional linked lists

Name: Anonymous 2011-12-05 14:42


template<class A> class Death_Star;
template<class A> class Death_Star {
private:
Death_Star<A>* Up;
Death_Star<A>* Down;
Death_Star<A>* Right;
Death_Star<A>* Left;
Death_Star<A>* Forward;
Death_Star<A>* Backward;
Death_Star<A>* Forward_In_Time;
Death_Star<A>* Backward_In_Time;
public:
A value;
Death_Star();
~Death_Star();
A operator [] (unsigned int, unsigned int, unsigned int, unsigned int);
};

Name: Anonymous 2011-12-07 0:43

>>4
regular linked lists are binary trees, for instance.

worst unbalanced tree ever.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List