Topic: Array Problem / Level: intermediate

Problem: Find the number of subarrays where the sum of elements is a multiple of both the first and last elements of the array.

Run the code to see the output here...