Data Structures, Algorithms, & Applications in C++
Chapter 14, Exercise 27

The crossing diagram is:


The crossing table is:


A is 1 2 3 7 6 5 10 9 4 8

B is 10 9 8 5 3 2 1 4 6 7