Meta interview question

Am under NDA but also checkout leetcode.