140 - Bandwidth

You may enumerate all permutations to solve this problem.

There are no more than 8 nodes in the input graph; so the maximum number of permutations is 40320, and an exhaustive search is acceptable.

Creative Commons License
This blog by Che-Liang Chiou is licensed under a Creative Commons Attribution 4.0 International License.