05 May Monday 20:00 Python Practice 21.05.03.
Question:
Base on the explanation about the deque data structure, please finish the following code:
class Deque:
def __init__(self):
pass
def isEmpty(self):
pass
def size(self):
pass
def addRear(self, item):
pass
def addFront(self, item):
pass
def removeRear(self):
pass
def removeFront(self):
pass
No Comments