I need help in tackling problems in which sliding window is applied but to find a property of substring https://leetcode.com/problems/subarrays-with-k-different-integers/ like this
I can not understand how to get ALL substrings and how to change start and end in these problems .. .I am able to solve all other types like maximum subs and others but not these types help
TIA