How many non-empty contiguous subarrays does an array of length ten have? · QuantMax