recategorized by
3,416 views

1 Answer

Best answer
25 25 votes

An adjacency list is an array $A$ of separate lists.

Each element of the array $A_{i}$ is a list, which contains all the vertices that are adjacent to vertex $i$.

  • $A_{1}\rightarrow2\rightarrow3\rightarrow5$
  • $A_{2}\rightarrow1\rightarrow3$
  • $A_{3}\rightarrow1\rightarrow2\rightarrow4\rightarrow5$
  • $A_{4}\rightarrow3\rightarrow5$
  • $A_{5}\rightarrow1\rightarrow3\rightarrow4$
edited by
Position:
Show:

Related questions

21 21 votes
3 answers 3 answers
3.7k
3.7k views
Misbah Ghaya asked Nov 14, 2016
3,680 views
Show that the number of odd-degree vertices in a finite graph is even.
3 3 votes
2 2 answers
1.5k
1.5k views
Misbah Ghaya asked Nov 9, 2016
1,486 views
State whether the following statements are TRUE or FALSE:Every infinite cyclic group is isomorphic to the infinite cyclic group of integers under addition.
12 12 votes
2 2 answers
3.0k
3.0k views
Misbah Ghaya asked Nov 9, 2016
3,031 views
State whether the following statement is TRUE or FALSE:There is a linear-time algorithm for testing the planarity of finite graphs.
39 39 votes
7 answers 7 answers
10.5k
10.5k views
Misbah Ghaya asked Nov 15, 2016
10,467 views
The Boolean expression $A \oplus B \oplus A$ is equivalent to$AB + \overline {A}\;\;\overline B$$\overline{A}\;B+A\;\overline{B}$$B$$\overline{A}$