The List Merger
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Problem
Given two sorted lists a and b, return a single sorted merged list. Do not call sort() or sorted(); use O(n+m) merge.
Summary
No shortcuts.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.