blob: fc3bb22c98340ca9668a8e6b3d5b5e4e5577f4a8 [file] [log] [blame]
original graph:
0 --> 2
1 --> 1 3 4
2 --> 1 3 4
3 --> 1 4
4 --> 0 1
reversed graph:
0 --> 4
1 --> 1 2 3 4
2 --> 0
3 --> 1 2
4 --> 1 2 3