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