You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//for ith element if currsum == k there may be possible that currsum-num=k=>currsum-k=num i.e. there exists num in prefix sum array which can result to subarray sum k.