interviewcake coin problem