Share recursionMerge function in chapter 7: Linked List Challenges

Hi everyone,
Finally, I received this Book named Data Structures & Algorithms in Swift (Third Edition) and when I read the chapter 7 and I want to use recursive implementation to finish Challenge 4. Now I show my code:
recursive

@richmond_jam Thanks very much for your post. Do you have a question? What seems to be the problem?

No thanks. I just share a different way to solve this question

1 Like