Meta Interview Question

two leetcode one easy one medium bot tagged meta