MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / __init__

Method __init__

Queue.py:39–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37# 设计一个良策都能插入删除的队列deque
38class Deque:
39 def __init__(self):
40 self.items = []
41
42 def isEmpty(self):
43 return self.items == []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected