问题 I have to make a telephone directory program. The program should read names and numbers from a file. I have successfully created a linked list containing this data. Now I want to sort them alphabetically. How should I do that? 回答1: It depends on your objective. If you want to do this efficiently, stick pointers to every element into an array, and then sort the array alphabetically using an algorithm like quicksort ( qsort in C); lastly, re-create the list from the sorted array. On the other