mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-10 14:05:17 +08:00
Because of earlier logic not going to deque the last element of the queue because at the last front == rear as per your logic which directly results in "Underflow".
938 B
938 B