AlgoMaster Logo

Continuous Subarray Sum

nums=[23, 2, 4, 6, 7],k=6
0 / 10
k = 6found = false01234232467
algomaster.io
Step:Start: find a subarray of length >= 2 whose sum is a multiple of k