InterviewBit Problems   Alternate positive and negative element : Solved