data-representation

Which data structure best represents this data?

Is this a list of lists or just a bunch of trees(forest)? ...

Representing dynamic typing in C.

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...

What is the name of a data structure looking like bowling pins?

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...