dual linked list 썸네일형 리스트형 듀얼 링크드 리스트(Dual linked list ) 구현 #include #include struct student{ int number; struct student *next; struct student *previous; }; int main (void){ //s5-s2- s1- s4- s3 struct student s1 = {1,NULL}; struct student s2 = {2,NULL}; struct student s3 = {3,NULL}; struct student s4 = {4,NULL}; struct student s5 = {5,NULL}; struct student *first = NULL; struct student *current = NULL; first = &s5; current = &s5; s5.previous = &s3; s5.ne.. 더보기 이전 1 다음