This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright 2014 Gagarine Yaikhom (MIT License) | |
* | |
* Implementation of Kosaraju's Algorithm for Strongly Connected Components. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define MAX_DEGREE 5 | |
#define MAX_NUM_VERTICES 20 |