so I have a basic constructor for my queue class as seen here:
class Queue:
def __init__(self):
self._qhead = None
self._qtail = None
self._count = 0
but I need to allow the constructor to take an optional parameter that indicates the max size of the queue and if no size is given, then the queue is unbounded.
How would I do that? TIA