Graph Questions List Leetcode Python