Doubly-linked list

Hey, I need just one last program, please help me. Here is condition:

Create Doubly-linked list. Write the function, which compress list, from some one after another passing element with equal value leaving only one element.
I think you should at least try to code it by yourself and let any brilliant minds here help you or correct you if you have problems at specific point.
Topic archived. No new replies allowed.