question 3.1 list->stack
question 3.1 array->stack