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 [0,1000][0, 1000][0,1000].
−103≤-10^3 \leq−103≤ Node.value ≤103\leq 10^3≤103
Node.value
The idea of the solution is to sort a linked list using the ...