Merge Two Sorted Lists
Easy📝 Description
Merge two sorted linked lists into one sorted list
Input Format
Two linked list head nodes
Output Format
Merged linked list head node
Constraints
0 ≤ number of nodes ≤ 50
🔍 Sample Input
[1,2,4]
[1,3,4]
✅ Sample Output
[1,1,2,3,4,4]
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run