Pregunta de entrevista de FastCode AI

Next greater element stack question