Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- data structure
- while
- XML
- DB
- react
- CSS
- Pipelining
- mysql
- architecture
- instruction
- github
- html
- control
- for
- system
- Linux
- DATAPATH
- Class
- computer
- Java
- javascript
- MIPS
- DoM
- php
- MacOS
- web
- function
- Algorithm
- DS
- python
Archives
- Today
- Total
목록BST (1)
YYYEJI
[DS] 이진탐색트리(Binary Search Tree)란?
이진탐색트리(Binary Search Tree)란? Left subtree에 속한 모든 node의 값(key)은 root의 값(key)보다 작고, Right subtree에 속한 모든 node의 값(key)보다 큰 이진 트리(binary tree)입니다. + Empty tree도 이진탐색트리입니다. + 모든 subtree도 이진탐색트리입니다. + 모든 노드(node)의 값(key)이 겹치면 안 됩니다. Binary Search Tree를 구현하기 위한 ADT 구현 class bst_node { public: string id; string name; double score; bst_node *left, *right; bst_node(); bst_node(string s1, string s2, double..
Data structure
2023. 1. 4. 23:43