3113. Find the Number of Subarrays Where Boundary Elements Are Maximum - Hard | DSA Corner | Talentd