HashedIn by Deloitte Interview Question

subquery sum, sliding window problem and 2 pointer problems