Created
June 19, 2022 02:30
-
-
Save wanderindev/9193fad4ccd511dffe20fef3c775a47a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def is_empty(self) -> bool: | |
"""Returns True is the linked list is empty""" | |
return not self.head |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment