Meta interview question

Leetcode sort by top FB questions.