876. Middle of the Linked List # Definition for singly-linked list.# class ListNode:# def __init__(self, val=0, next=None):# self.val = val# self.next = nextclass Solution: def middleNode(self, head: Optional[ListNode]) -> Optional[ListNode]: """ - slow는 한 칸씩 - fast는 두 칸씩 이동 - fast가 끝에 도달하면, slow는 중간에 도달 """ slow = fast = head ..