2588. Count the Number of Beautiful Subarrays - Medium | DSA Corner | Talentd