Array
3347. Maximum Frequency of an Element After Performing Operations II
Given an array nums, a number k, and numOperations. Per operation, add any value in [−k, k] to a chosen element (each at most once). Find the maximum frequency of any value after the operations…
Loading…