I\'m currently following Steve Yegge\'s advice on preparing for a technical programming interview: http://steve-yegge.blogspot.com/2008/03/get-that-job-at-google.html
In
Objects and pointers is mostly the same as adjacency list, at least for the purpose of comparing algorithms that use these representations.
Compare
struct Node {
Node *neighbours[];
};
with
struct Node {
Node *left;
Node *right;
};
You can easily construct the list of neighbours on-the-fly in the latter case, if it is easier to work with than named pointers.