• + 1 comment

    It worked. but it is bit confusing since there is already a "printSinglyLinkedList(...)" function so I was assuming we need to use this function to print elements.