Pregunta de entrevista de Snowflake

The questions from LeetCode were challenging.