Papa Ganache interview question

Previous work