Below is my code for solution to the Course Schedule problem from Leet Code (problem 207) https://leetcode.com/problems/course-schedule/
However there is one case whi