One fake node at the front, and every special case about the head disappears.
Quick checkยท 5 min
What does the dummy head remove?
Which of these problems does a dummy head actually solve?
Problemยท 20 min
Merge Two Sorted Lists
Read the constraints first and let them tell you what complexity is expected. Derive the approach, implement it, run the tests, and submit when it passes.