Pergunta de entrevista da empresa Google

leetcode medium questions, interviewed in C.