[LeetCode] 2588. Count the Number of Beautiful Subarrays
You are given a 0-indexed integer array nums. In one operation, you can:Choose two different indices i and j such that 0 <= i, j < nums.length.Choose a non-negative integer k such that the