There was an error while loading. Please reload this page.
1 parent 873cb1d commit 24ef668Copy full SHA for 24ef668
Section_10(Priority-Queue-Heaps)/(1)_heap.py
@@ -45,3 +45,7 @@ def __init__(self):
45
46
def __len__(self):
47
return len(self._data)
48
+
49
+ def is_empty(self):
50
+ return len(self._data)
51
0 commit comments