Meta Interview Question

Leetcode med. Cant remember the exact question