Skip to interview prep
Apexed

94. Merge two sorted linked lists into one sorted list, both recursively and iteratively.

EasyLinked lists

Technical

This is ungraded practice. Run your solution and compare it with the model answer. Your drafts are saved in this browser.

Tab indents · Ctrl/⌘ + Enter runs · Esc then Tab leaves the editor

Press Run to see your program’s output.

Merge two sorted linked lists into one sorted list, both recursively and iteratively. — Data structures & algorithms interview question — Apexed