Leetcode 795. Number of Subarrays with Bounded Maximum | Hello Interview