Getting TLE - Submission #16200120

Can you pls tell why I m getting time limit error in this "Subarrays with distinct numbers " STL challenge code of mine.

hi @snehacpcb_6a154f5c45187387 i can see u got 100 points hope its done