Leetcode 3346. Maximum Frequency of an Element After Performing Operations I | Hello Interview