| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- cloud firestore
- 젠킨스
- endless scrolling
- 이모티콘
- 기본동사get
- firestore
- 실용영어표현
- jenkins
- Firebase
- 김재우의영어회화
- Android
- 특수문자
- django
- Python
- 원어민뉘앙스
- 영어식사고
- 기본동사
- 특수기호
- 파이썬
- 직장영어
- 기초영어회화
- git
- 안드로이드
- 기본동사활용
- 자료구조
- RecyclerView
- 영어회화
- 이모지
- Realtime Database
- 라이브아카데미
Archives
- Today
- Total
목록BST (1)
Owl Life
자료구조_Binary Search Tree (BST)
Binary Search Tree 자료구조입니다. 메모리는 동적이 아닌 정적으로 잡아서 사용하고 있으니, 필요시 동적할당으로 수정하시면 됩니다. 소스는 아래 참고 바랍니다. #include "iostream" using namespace std; #define MAX_DATA 10000 #define INIT_DATA -1 typedef int T; typedef struct _node { T data; struct _node *left, *right; } NODE; NODE tree[MAX_DATA + 1]; NODE *root_node; int tree_idx; NODE *alloc_node() { return &tree[tree_idx++]; } void init() { for (int i = 0;..
자료구조_알고리즘
2018. 5. 11. 21:50