Boostorder interview question

data structure related question (exp: stack)