Hopper interview question

Simple leetcode very easy questions