InterviewBit Problems   Ten Black and White Socks : Solved