Leetcode problems that involve a graph.