Adjacency lists are functional