Merge two sorted lists. Leetcode 21 (a novel approach).
Here is the problem statement:
Given the heads of two sorted linked lists list1andlist2, Merge the two lists into one sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked lis...
elgibbor.hashnode.dev6 min read