Count subarrays equal to target | Akuna Capital Interview Question