InterviewBit Problems   Maximum Sum Combinations : Solved