Which data structure best represents this data?
Is this a list of lists or just a bunch of trees(forest)? ...
Is this a list of lists or just a bunch of trees(forest)? ...
I'm writing a dynamically-typed language. Currently, my objects are represented in this way: struct Class { struct Class* class; struct Object* (*get)(struct Object*,struct Object*); }; struct Integer { struct Class* class; int value; }; struct Object { struct Class* class; }; struct String { struct Class* class; size_t length; char* c...
First of all, sorry for the title. Someone please propose a better one, I really didn't know how to express my question properly. Basically, I'm just looking for the name of a data structure where the elements look like this (ignore the dots): ......5 ....3...2 ..4...1...6 9...2...3...1 I first thought it could be a certain kind of...