Nanoleaf interview question

Implement an equality operator to see if two LinkedLists are equal.