RESULTS OF CHAPTER STUDY SUGGESTIONS 273Boyer–Moore
The pattern is
abcbccabc
After the first loop the jump array contains
After the second loop the jump array contains
After the second loop the link array contains
After the third loop the jump array contains
After the fourth loop the jump array contains
Chapter 6
Depth-first traversal from node A
A, B, G, C, D, H, L, K, J, F, I, EBreadth-first traversal from node A
A, B, E, F, G, I, C, L, D, H, K, JDijkstra-Prim minimum spanning tree trace
17 16 15 14 13 12 11 10 917 16 15 14 13 12 6 4 178788999101413121110964114131211109641IECCEFIBA3
98
87125
AB