Skip to content

Commit 4b1010b

Browse files
author
Skm2000
committed
Added Comments
1 parent 919fc51 commit 4b1010b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Solutions/Course_Schedule.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#include<bits/stdc++.h>
22
using namespace std;
33

4+
//The solution basically uses the concept of graph coloring
5+
// 0: node has not been visited
6+
// 2: node is in processing mode
7+
// 1: node has allready been processed
8+
49
class Solution {
510
private:
611
bool isCyclic(vector<vector<int>>&adj,vector<int>&visited,int current){

0 commit comments

Comments
 (0)