Given a graph, assign to the edges of the graph weights 1, 2, ..., m where m is the total number of edges. Assign a unique weight to each edge. Then find a shortest path joining the two black vertices, where the "length" of the path is the sum of the weights of all the edges in the path. The goal is to find an assignment of the edges so that the length of the shortest path is as large as possible. Note that there may be several optimal ways of assigning the weights, but the optimal value is unique.
I guess this may be a bit confusing, so here is a simple example: There are 4 edges in this graph, so we need to put weights 1, 2, 3, 4 on the edges.

There are essentially three ways to put the weights...

The shortest path between the two black vertices in the first assignment is 3. This is 4 in the second assignment, and 5 in the third assignment. Since 5 is the largest of them all, this is the answer for this puzzle.
Labels: instruction, minmax path