InterviewBit Problems   Good Subarrays : Solved