InterviewBit Problems   Coins in a Line : Solved