Quantiphi interview question

Finding middle element in linked list