diff --git a/Topological Sort_Decrease and Conquer b/Topological Sort_Decrease and Conquer new file mode 100644 index 0000000..e5cef63 --- /dev/null +++ b/Topological Sort_Decrease and Conquer @@ -0,0 +1,46 @@ +#include + +using namespace std; + +int main(){ + int i,j,k,n,a[10][10],indeg[10],flag[10],count=0; + + cout<<"Enter the no of vertices:\n"; + cin>>n; + + cout<<"Enter the adjacency matrix:\n"; + for(i=0;i>a[i][j]; + } + + for(i=0;i