Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- typedef struct List{
- int data;
- struct List* next;
- } List;
- int List_Push(List** p_list, int value);
- int List_Add(List** p_list, int value);
- int List_Add_List(List** p_list_p, List** p_list_s, int index);
- int List_Add_At(List** p_list, int value, int index);
- int List_Count(List* p_list);
- int List_Get(List* p_list, int index);
- void List_Print_All(List* p_list);
- int List_Del(List** p_list, int index);
- int List_Del_All(List** p_list);
- int List_Add_ToSorted(List** p_list, int value, int sort_direction);
- int List_Sort_Selection_Sort(List** p_list, int sort_direction);
- List* List_GetRange(List* p_list, int start, int count);
- int List_Merge(List** p_list_a,List** p_list_b, int sort_direction);
- List* List_MergeSort(List** p_list, int sort_direction);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement