InterviewBit Problems   Counting Subarrays! : Unsolved

About the Counting Subarrays! : Unsolved category (1)
Easy Pizzy C++ solution (1)
Easy C++ Solution Two Pointers (1)
Could anybody please help? (1)
What's problem with my code I know it's O(N) but just wanted to know why it's not working (3)
O(n^2) is also getting accepted xD (1)
Problem is not clear (3)
Duplicate Elements (1)
Poor Constraints (1)