Medium
Given the head of a singly linked list, sort it in ascending order using insertion sort and return the sorted list.
head
Input: head = [4,2,1,3] Output: [1,2,3,4]
Input: head = [-1,5,3,4,0] Output: [-1,0,3,4,5]