1. Could you please tell me how to count all the subarrays only have number 2,3 or 4 has sum equal to a given int N?
Example:
Input: N = 1 Out