Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ isFull
Method
isFull
Python/circular queue.py:17–23 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
15
16
# to check if queue is full
17
def
isFull(self):
18
if
self.top+1==self.start:
19
return
True
20
elif
self.start ==0 and self.top+1==self.maxsize:
21
return
True
22
else
:
23
return
False
24
25
26
Callers
1
Enqueue
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected