I built this previously to compare 2 linked lists and it worked great. Now I'm trying to use it with a queue that uses a linked list and it always returns true as in the lists are the same. Not sure if it has something to do with the fact that queues use LIFO structure, but any help to fix this problem would be awesome.