Status: IN
`sumOddLengthSubarrays` uses per-element contribution counting — computing how many odd-length subarrays include each index — to achieve O(n) instead of O(n^2) subarray enumeration
Source: entries/2026/06/06/sum-of-all-odd-length-subarrays-solution.md