Leetcode 3347. Maximum Frequency of an Element After Performing Operations II | Hello Interview