STMicroelectronics Interview Question

Asked about implementation of stack