Domanda di colloquio di Agoda

DP Problem Stack Problem based on stone sorting