Pregunta de entrevista de Google

leetcode medium questions, interviewed in C.