https://note.nkmk.me/atcoder-python-numpy-scipy-version/
-
minimum area tree scipy.sparse.csgraph.minimum_spanning_tree() can be used
-
linkage component scipy.sparse.csgraph.connected_components() can be used
-
shortest route scipy.sparse.csgraph.shortest_path() can be used
This page is auto-translated from [/nishio/atcoder scipy](https://scrapbox.io/nishio/atcoder scipy) 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.