ThoughtfulGPT Interview Question

Complete 2 challenges. (at least)