Pregunta de entrevista de Moveinsync Technology Solutions

sort a stack only using push pop find element in rotated sorted array