Merge Two Sorted Lists

Asked at Squarespace · Coding Questions · Difficulty: Easy

You are given the heads of two singly linked lists `list1` and `list2`, both sorted in **non-decreasing order**.

Loading the problem…