Leetcode 3682. Minimum Index Sum of Common Elements | Hello Interview