IXL Learning interview question

brain teaser about treasure chests