Pregunta de entrevista de Bentley Systems

Middle element of the linked list using a single loop