I can across this LeetCode question that covers some set theory closely. (Reference: 1588. Sum of All Odd Length Subarrys).
After realizing that I had covered some of