0 تصويتات
بواسطة
After every Dequeue operation the value of rear is increased by one.صواب خطأ

1 إجابة واحدة

0 تصويتات
بواسطة
خطأ
After every Dequeue operation in a queue (implemented using a circular array or linked list), the value of rear is not necessarily increased by one. When an element is removed from the queue, the rear pointer is not always directly incremented. Instead, it is incremented when a new element is enqueued to the queue. This allows the queue to maintain the correct position of the rear pointer as elements are added and removed.
مرحبًا بك إلى يزيد، حيث يمكنك طرح الأسئلة وانتظار الإجابة عليها من المستخدمين الآخرين.
...