Start at line in the example above, and get to the blank line at the bottom. Currently, j2} is chosen. A better solution would be 3}.
This happens because j appears first in the config, and } goes to the same location with the same weight, so is ignored. Since we don't know the path ahead yet, we cannot make a choice between the two.
Problem
Start at
line
in the example above, and get to the blank line at the bottom. Currently,j2}
is chosen. A better solution would be3}
.This happens because
j
appears first in the config, and}
goes to the same location with the same weight, so is ignored. Since we don't know the path ahead yet, we cannot make a choice between the two.