Meta interview question

leetcode med questions o(n) runtime