diff --git a/Course Schedule b/Course Schedule new file mode 100644 index 0000000..0ebeb17 --- /dev/null +++ b/Course Schedule @@ -0,0 +1,32 @@ +bool canFinish(int n, vector>& A) + { + unordered_map> m; + vector dg(n,0); + + for(int i=0;i q; + for(int i=0; i