Meta Interview Question

all questions are on leetcode