結果 : define double ended queue with example