Pregunta de entrevista de Sprinklr

One question leetcode medium on implementation of stack