...

/

Challenge 5: Reverse a Linked List

Challenge 5: Reverse a Linked List

Can you implement a program which could reverse a linked list? Let's find out!

Problem statement

You have to write the Reverse function, which starts iterating from the head and swaps ...