일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 특수문자
- 이모티콘
- 파이썬
- firestore
- jenkins
- 영어회화
- Firebase
- non conventional NFR
- meta threads
- 메타 쓰레드
- 객치지향프로그래밍
- django
- Android
- 쓰레드 비디오 다운로드
- 직장영어
- RecyclerView
- 라이브아카데미
- 특수기호
- conventional NFR
- re-engineering
- Realtime Database
- skeleton architecture
- cloud firestore
- endless scrolling
- 젠킨스
- 안드로이드
- 자료구조
- git
- 쓰레드 이미지 다운로드
- Python
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