Pregunta de entrevista de Meta

They asked the falling water leet code problem