You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# write your __init__ method here that should store a 'total' value which is the total number of elements in the Queue and a 'queue' value which is an array of stored values in the Queue
defenqueue(self):
# write your code to add data to the Queue following FIFO and return the Queue
pass
defdequeue(self, data):
# write your code to removes the data to the Queue following FIFO and return the Queue
pass
defsize(self):
# write your code that returns the size of the Queue