floyd
no. components
prim
toposort
flood fill
segment tree
menu