TP 9 exo2: Implement a merge sort function for the linked list.
[TD_C.git] / TP_9 / exo2 / exo2.c
index b06d7a4d7bc31a17f32e337c7707bf17d61d40af..810bd9eea64545915da2dfa27ec3ff4f52384c3c 100644 (file)
@@ -35,7 +35,8 @@ int main() {
     list_display_values(head2);
     head = list_concat(head1, head2);
     list_display_values(head);
-    head = list_sort(head);
+    head = list_merge_sort(head);
+    //head = list_sort(head);
     list_display_values(head);
     //list_clear(head1);
     //list_clear(head2);