Leetcode 3442. Maximum Difference Between Even and Odd Frequency I | Hello Interview