The Middle of a Linked List
Problem Statement
Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node.
Approach
We will initialise two pointers, slow and fast with the head of the linked lis...
chehakbatra.hashnode.dev2 min read