Skip to content

Instantly share code, notes, and snippets.

@atoye1
Created December 14, 2021 01:19
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/7531759c0c10caaa1f6e4a7aca3572dd to your computer and use it in GitHub Desktop.
Save atoye1/7531759c0c10caaa1f6e4a7aca3572dd to your computer and use it in GitHub Desktop.
typedef struct ListNode{
struct ListNode* Llink;
int data[10];
struct ListNode* Rlink;
} listNode;
typedef struct {
listNode *Rhead;
listNode *Lhead;
} linkedList_h;
linkedList_h* createLinkedList(void){
linkedList_h* H;
H = (linkedList_h*)malloc(sizeof(linkedList_h*));
H->LHead = NULL;
H->RHead = NULL;
return H;
}
@atoye1
Copy link
Author

atoye1 commented Dec 14, 2021

hello thank you github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment