mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-25 01:41:20 -04:00
fix few details, stacks
This commit is contained in:
parent
578a4f28da
commit
415e9c02e2
18 changed files with 301 additions and 748 deletions
|
@ -19,7 +19,7 @@ class LinkedQueue(object):
|
|||
|
||||
|
||||
def isEmpty(self):
|
||||
return bool(self.head)
|
||||
return not bool(self.head)
|
||||
|
||||
|
||||
def dequeue(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue