C3 AI

1 DSA problems asked in C3 AI coding interviews

0 Easy
1 Medium
0 Hard
​

1 problem

Sliding Window
1
Binary Subarrays With Sum
Medium

Given a binary array `nums` and an integer `goal`, return the number of non-empty subarrays with a sum equal to `goal`. A subarray is a contiguous part of the array.