Skip to content

Instantly share code, notes, and snippets.

@atoye1
Last active December 13, 2021 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atoye1/9e44a8740b5cbf51c1a09eeca4edf62e to your computer and use it in GitHub Desktop.
Save atoye1/9e44a8740b5cbf51c1a09eeca4edf62e to your computer and use it in GitHub Desktop.
KNOU LinkedList Implementation
typedef struct ListNode{
int data[10];
struct ListNode* link;
} listNode;
typedef struct{
listNode* head;
} linkedList_h;
linkedList_h* createLinkedList_h(void){
linkedList* H;
H = (linkedList_h*)malloc(sizeof(linkedList_h));
H->head = NULL;
return H;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment