day 158 of getting into google :D u dont have to check all pairs, just successive ones, since we do not need to have the adjacency matrix be transitive relation. #leetcode #python #interviewpreparation
No download links available.