LEARNING JOURNAL

I created this learning journal to practice writting and to help me learn by writting everything down. Source code here

1/22/2024

Print Immutable Linked List in Reverse

This problem is relatively simple to solve. Basically, you recursively traverse to the end of the list, then, print each element on the way back.

I found this problem under the Stack category because I wanted to practice some Stack problems, but then I figured using recursion is faster, and furthermore, recursion actually uses stack under the hood.