Microsoft Interview Question

Given a linked list, define if it is a Set. Then, create a function add an element to a set.