結果 : python deque appendleft time complexity