Difference between revisions of "CSC270 Final Exam 2016"
Line 101: | Line 101: | ||
<br /> | <br /> | ||
Your program should output the original linked list, followed by the list with the "bad" pairs removed. | Your program should output the original linked list, followed by the list with the "bad" pairs removed. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | Example: | ||
<br /> | <br /> | ||
:<source lang="text"> | :<source lang="text"> | ||
− | + | ||
List = (11, 9) (7, 35) (5, 15) (2, 20) (1, 10) | List = (11, 9) (7, 35) (5, 15) (2, 20) (1, 10) | ||
List = (7, 35) (5, 15) (2, 20) (1, 10) | List = (7, 35) (5, 15) (2, 20) (1, 10) |