c언어 자료구조(2)
-
자료구조_c언어_tree
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465#include #include #include typedef struct treeNode { char data; struct treeNode *left; struct treeNode *right;}treeNode; treeNode* makeRootNode(char data, treeNode *leftNode, treeNode *rightNode) { treeNode *root = (treeNode*)malloc(sizeof(treeNode)); root->data = data; root->..
2021.08.25 -
자료구조_c언어_circularLinkedList_01
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293#include #include #include typedef struct ListNode { char data[4]; struct ListNode *link;}listNode; typedef struct { listNode *head;}linkedList_h; linkedList_h* createLinkedList_h() { linkedList_h *CL; CL = (linkedList_h*..
2021.08.25