Meta Interview Question

Gave two leetcode problems easy/medium