Pergunta de entrevista da empresa Arista Networks

Given an unordered linked list remove all duplicates of the value passed.