Leetcode 3493. Properties Graph | Hello Interview