maximal network rank | maximal network rank leetcode | leetcode 1615 | graph