Adjacency matrix of graph
vector < vector < int > > graph = { { 0 , 4 , 0 , 0 , 8 } , { 0 , 0 , 8 , 0 , 11 } , { 0 , 8 , 0 , 2 , 0 } , { 0 , 0 , 2 , 0 , 1 } , { 8 , 11 , 0 , 1 , 0 } } ; for ( auto i : desopo ( graph ) ) { cout << i << " ▁ " ; } return 0 ; }