Zebi interview question

algorithm to remove duplicates from data structure