InterviewBit Problems   Maximum array sum after B negations : Solved