Problem 523 · Medium

Continuous Subarray Sum

Check if subarray of size >= 2 exists with sum divisible by k.

Open the interactive visualisation