Compare two linked lists


Submit solution

Points: 5
Time limit: 2000.0s
Memory limit: 64K

Problem type

You’re given the pointer to the head nodes of two linked lists. Compare the data in the nodes of the linked lists to check if they are equal. If all data attributes are equal and the lists are the same length, return . Otherwise, return .


Comments