Count the Number of Beautiful Subarrays - DSA Problem | Talentd