categoryGrokking Coding Interview2 - Fast and slow pointers3 - Middle of the linked listOn this page3 - Middle of the linked listProblem StatementApproch 1: Fast and slow pointers approchPythonWritten by @kondekarshubham123from linked_list import LinkedListdef get_middle_node(head): slow = fast = head while fast and fast.next: slow = slow.next fast = fast.next.next return slow