Find the Middle element of a LinkedList
Question: Middle of the Linked List
For odd length Linkedlist, we'll be having only one middle element, while for the even length, we'll have 2 middle elements.
In the question, they asked to return the 2nd node if there are 2 middle elements.
Step-...
shamithareddyregenti.hashnode.dev2 min read