Skip to content

Instantly share code, notes, and snippets.

Last active Aug 9, 2020
What would you like to do?
Print the Elements of a Linked List HackerRank Exercise. Realization
from linked_list import SinglyLinkedListNode
def printLinkedList(head):
currentNode = head
while currentNode is not None:
currentNode =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment