In my teacher's code, he has a snippet in his code where it goes:
bool sameAs(Node* q) {return (data == q->data);}
In my code, I want to have multiple variables. So instead of just data, I would have first, mid, last, and phone. It's hindering another of my function so I just wanted to see if what I'm writing is the equivalent and the problem isn't in that area.