I have some problem understanding what the book lectured about graph.
According to the book, graph can be represented with adjacent list, and every vertex is assigned a unique number i (1<=i<=n, if there are n vertices).
Here is my problem, what I have is a bunch of names, say "simon, jack, logan, wallance", according to the book, I should assign each of them a number, but how should I determine which number should be assigned to whom?