• + 1 comment

    Can you plz explain how recursion works here

    • + 0 comments

      By calling the function recursively before the print statement, you first get to the end of the linked list and print the final value, print the last but 1 value, etc until you print the first value.