Can someone help me in solving this problem?? The problem editorial is tough to understand. It can be solved using hashmap +prefix sum but I am not able to the get the pattern/observation.
C. Good Subarrays Educational Codeforces Round 93 Problem Link :https://codeforces.me/problemset/problem/1398/C