Meta Interview Question

I was given 2 Easy/Medium LeetCode-esque questions