Meta Interview Question

LeetCode 121 with 123 as a follow up.