結果 : python deque append time complexity