Typescript Tortle and Rabbit
A Rabbit goes twice faster than tortle\n\n\nfunction middleNode(head: ListNode | null): ListNode | null {\n    let rabbit = head.next;\n    let tortle = head;\n
A Rabbit goes twice faster than tortle\n\n```\nfunction middleNode(head: ListNode | null): ListNode | null {\n    let rabbit = head.next;\n    let tortle = head;\n    \n    while(rabbit) {\n        rabbit = rabbit.next?.next;\n        tortle = tortle.next;\n    }\n    \n    return tortle;\n};\n```
['TypeScript', 'JavaScript']