enumerating
NT paths is intractable; like forward, Viterbi caches subproblems but replaces summation with max and keeps predecessors to reconstruct the trajectory, guaranteeing a globally optimal path rather than greedy step-wise optima; the cost is
O(N2) comparisons per step and retaining the full
ψ table for backtracking (it cannot be rolled over like evaluation).