OmkarPathak / Data-Structures-using-Python

This is my repository for Data Structures using Python
GNU General Public License v3.0
944 stars 436 forks source link

Updated isEmpty function definition. #31

Closed emredogan7 closed 5 years ago

emredogan7 commented 5 years ago

'return len(self.stack) == []' is a problematic definition. it should be either 'return len(self.stack) == 0' or 'self.stack == []'

review-notebook-app[bot] commented 5 years ago

Check out this pull request on  ReviewNB

You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.