Given many intervals and costs, consider combining them to cover a particular interval at the lowest cost This is attributed to the shortest path problem and can be solved by the [Dijkstra method
This page is auto-translated from /nishio/ๅบ้ใง่ฆใใณในใๆๅฐๅโใใคใฏในใใฉ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iโm very happy to spread my thought to non-Japanese readers.