Adevinta interview question

Write an algorithm question with linked lists