Skip to content

Commit 3814c01

Browse files
Update circular_queue.py
1 parent f9971af commit 3814c01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data_structures/queues/circular_queue.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def enqueue(self, data):
7373
"""
7474
if self.size >= self.n:
7575
raise Exception("QUEUE IS FULL")
76+
7677
self.array[self.rear] = data
7778
self.rear = (self.rear + 1) % self.n
7879
self.size += 1

0 commit comments

Comments
 (0)