Pregunta de entrevista de Meta

LCA Problem. Google it if you don't understand/