InterviewBit Problems   Spider's Web : Solved