Pergunta de entrevista da empresa Arcesium

Dutch national flag problem, middle element of linked list