-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathlist.c
More file actions
43 lines (37 loc) · 708 Bytes
/
list.c
File metadata and controls
43 lines (37 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "list.h"
// Init list structure
int init_list(int_ll_t *list)
{
// TODO: Your code here!
return 0;
}
// Free list structure
int free_list(int_ll_t *list)
{
// TODO: Your code here!
return 0;
}
// Get list size
int size_list(int_ll_t *list)
{
// TODO: Your code here!
return 0;
}
// Get element at index
int index_list(int_ll_t *list, int index, int *out_value)
{
// TODO: Your code here!
return 0;
}
// Insert element at index
int insert_list(int_ll_t *list, int index, int value)
{
// TODO: Your code here!
return 0;
}
// Remove element at index
int remove_list(int_ll_t *list, int index, int *out_value)
{
// TODO: Your code here!
return 0;
}