Sort List
Try to solve the Sort List problem.
We'll cover the following
Statement
Given the head of a linked list, return the list after sorting it in ascending order.
Constraints:
- The number of nodes in the list is in the range .
-
Node.data