package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev

# README

21. Merge Two Sorted Lists

Solution idea

经典的 Recursion 考题:只想当前node怎么链接,其余的交给recursion

Time complexity = $O(m+n)$ where $m$ length of linked list 1 and $n$ length of linked list 2.