InterviewBit Problems   Divide Gold Bar : Solved