Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Sort a linked list (http://www.go4expert.com/forums/sort-linked-list-t25891/)

pierre.volant91 25May2011 01:34

Sort a linked list
Hi guys,

I just start to learn how to programming in C and I'm working on linked list.

I got a problem to make an exercise so if you could help me.

There is the subject :

It's about creating a circular doubly linked list in order to sort numbers.
For sorting the number I can "swap" the two first numbers or using a temporary linked list.

I try to make the list but it wasn't working and I really haven't got any idea how to sort the list.

So if you can give me a few step to follow / advises or some example,
It would be great and very helpfull.

Thanks :undecided

shabbir 25May2011 09:03

Re: Sort a linked list
See Sort Linked List

All times are GMT +5.5. The time now is 04:08.