Pregunta de entrevista de Josh Technology Group

monotonic stack question toh make a maximum string