Why dont we have isFull() functionality in this implementation

Why dont we have isFull functionality in this implementation of Queue. Isnt it required if the Queue is full in case of circular case. That would result in overwriting the queue. right?

Hi @vikrantwaje96 arrays have limited size, we cannot modify their size once they have been declared, hence we have a size constraint in that implementation. But here we are implementing using a linked list and you can add as many nodes to a linked list as you like, so there is no maximum size limit now. Since there is no size limit, the isFull function makes no sense here.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.