結果 : differentiate between stack & queue