Meta interview question

Leetcode. I cannot go into specifics