Challenge 1 + 2
This commit is contained in:
13
challenges/01-intro-challenges/c-env/linked_list.h
Normal file
13
challenges/01-intro-challenges/c-env/linked_list.h
Normal file
@@ -0,0 +1,13 @@
|
||||
typedef struct _Item {
|
||||
char *data;
|
||||
struct _Item *prev;
|
||||
struct _Item *next;
|
||||
} Item;
|
||||
|
||||
typedef struct List {
|
||||
Item *head;
|
||||
} List;
|
||||
|
||||
List* InitList();
|
||||
void Insert(List *l, char *data);
|
||||
Item* Find(List *l, char *data);
|
||||
Reference in New Issue
Block a user