Back to DSA sheet
Merge Two Sorted Lists
EasyLinked ListMerge two sorted linked lists into one sorted list and return its head.
Constraints
- 0 <= each list length <= 50
- -100 <= Node.val <= 100
Sheets
Blind 75Grind 75NeetCode 150NeetCode 250
merge-two-sorted-lists.cpp
Loading editor
Custom input (stdin)
Output
Run your code to see its output.