IXL Learning Interview Question

brain teaser about treasure chests