Merge Two Sorted Lists medium
algorithms

Write a function solution(a, b) that merges two sorted lists into one sorted list.

Example

solution([1, 3, 5], [2, 4, 6]) → [1, 2, 3, 4, 5, 6]
solution([1], [])              → [1]
solution.py
💡 Tip: Press Ctrl+Enter to run