# Given an integer array hours representing times in hours, return an integer denoting the number of pairs i, j where i < j and hours[i] + hours[j] forms a complete day. # A complete day is defined as ...
# Given an array of positive integers arr, return the sum of all possible odd-length subarrays of arr. # A subarray is a contiguous subsequence of the array.