트리(Tree) -구조체 배열 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556#include #include typedef struct node { //노드의 데이터, 왼쪽 자식노드, 오른쪽 자식노드 (부모노드 추가 가능) char data; int left; int right;}node; node T[101];int N; void initTree() //트리 초기화{ for (int i = 0; i
-트리(Tree) 개념 정리-
연결리스트-2(LinkedList) 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162..
연결리스트(LinkedList) -예제를 통한 연결리스트 연습 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111#include #include typedef int element;typedef struct node { element data; node* link;}node; node *head, *temp;int N, M, x, y;int password[..
배열리스트(ArrayList) 1234567891011121314151617181920212223242526272829303132333435363738394041#include #define MAX_LIST_SIZE 100 typedef int element; typedef struct ArrayList { element list[MAX_LIST_SIZE]; int length;}; //리스트의 모든 요소 표시void display(ArrayList *list);//길이 반확int getLength(ArrayList *list);//pos위치의 요소 반환int getEntry(ArrayList *list, int position);//item 있는지 검사int isInList(ArrayList *list..
- Total
- Today
- Yesterday
- 패턴 매칭
- 다이어리
- 계획
- DataStructure
- 보이어-무어
- Algorithms
- stringint
- Tree
- string변환
- datastructures
- 겨울방학
- 연결리스트
- string개념
- 알고리즘
- c언어
- string
- LinkedList
- atoi()
- int변환
- 네트워크
- kmp 알고리즘
- 해싱 충돌
- 자료구조
- string숫자
- 컴퓨터네트워크
- 알고리즘개념
- 트리
- open address
- string int로 변환
- 시험준비
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |