Meta interview question

Algorithms similar to leetcode - easy level