Sort a linked list
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.
Re: Sort a linked list
See Sort Linked List
|All times are GMT +5.5. The time now is 17:56.|