Divisible subarrays


can you please check what is the problem with the code one test case is not correct

hey @dishask99, the map is causing problem otherwise your logic is correct. Please use an array.
Consider this one for reference https://ide.codingblocks.com/s/99060