InterviewBit Problems   Ugly Pairs : Unsolved