Akuna interview question

Two Easy to medium Leetcode problems