Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ deQueue
Method
deQueue
python/0622-design-circular-queue.py:30–37 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
28
29
30
def
deQueue(self) -> bool:
31
if
self.isEmpty():
32
return
False
33
34
self.head = self.head.next
35
self.size -= 1
36
37
return
True
38
39
40
def
Front(self) -> int:
Callers
nothing calls this directly
Calls
1
isEmpty
Method · 0.95
Tested by
no test coverage detected