Continuation of this post https://leetcode.com/discuss/general-discussion/731911/Please-Share-dijkstra's-algorithm-questions
https://leetcode.com/problems/is-graph-bipartite/
https://leetcode.com/problems/possible-bipartition/