Pergunta de entrevista da empresa Google

Given Leetcode style coding challenges, medium to hard.