How can you get the middle element in a Linked List
Anonymous
By starting the parsing with two pointers. One moving twice as fast as the other. When the fast pointer reaches the end, the other one is at the middle.
Check out your Company Bowl for anonymous work chats.