Design decisions

74. monge_path is online LARSCH; aliens stops at count k (2026-11-21)

std.dp.monge_path now runs the online LARSCH algorithm (O(n) calls of w) instead of the O(n log n) candidate deque, with the same signature (decision 56); on cf2183h it makes the same number of cost calls as the original's template. aliens stops as soon as a slope's least count is exactly k, which the law already makes exact. Reverse: the deque is ten lines and needs no level stacks, if LARSCH's bookkeeping ever costs more than its calls save.