148. Sort List https://youtu.be/TGveA1oFhrc?si=rRYsC927YCXjnEcg # Definition for singly-linked list.# class ListNode:# def __init__(self, val=0, next=None):# self.val = val# self.next = nextclass Solution: def sortList(self, head: Optional[ListNode]) -> Optional[ListNode]: # time: n log n => merge sort # memory: O(1) => can Recursion, 재귀 if not head or..