Leetcode 3392. Count Subarrays of Length Three With a Condition | Hello Interview