...

/

Challenge 7: Find Middle Node of Linked List

Challenge 7: Find Middle Node of Linked List

This is another coding challenge that tests your knowledge on linked lists.

Problem statement

You have to implement the FindMid() function, which is a member function of a LinkedList, and it should return the value of the middle node. If the length of the list is even, the middle value will occur at length2\frac{length}{2} ...