Bloomberg interview question

Q: LC380 Q: Code a LinkedHashSet