A great example of how a greedy observation (if total gas >= total cost, a solution exists) eliminates the need for trying all starting points.
Enable JavaScript for the full StreamPrep guide.