結果 : write an algorithm to insert and delete elements in a queue