while finding the middle of the linked list, why we need to make the condition for fast!=null although we already put a condition of fast.next!=null.
while finding the middle of the linked list, why we need to make the condition for fast!=null although we already put a condition of fast.next!=null.