We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4fb45 commit 295a490Copy full SHA for 295a490
data_structures/queue/circular_queue.py
@@ -47,7 +47,8 @@ def first(self):
47
48
def enqueue(self, data):
49
"""
50
- This function insert an element at the end of the queue using self.rear value as an index
+ This function inserts an element at the end of the queue using self.rear value
51
+ as an index.
52
>>> cq = CircularQueue(5)
53
>>> cq.enqueue("A") # doctest: +ELLIPSIS
54
<data_structures.queue.circular_queue.CircularQueue object at ...
0 commit comments