InterviewBit Problems   REDUCTION : Solved