Frequency Subarray Updates

Company: Ivyleague csforall_18oct

Difficulty: medium