[Q9.10]build a highest possible stack in a strictly increasing order