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
- leetcode
- 프로그래머스
- 네트워크
- swea
- Djikstra
- boot sequence
- 응용 계층
- 관계형 모델
- 문제풀이
- DB
- dp
- baekjoon
- Transport layer
- 임베디드
- 데이터베이스
- 릿코드
- 백준
- 자료구조
- Application Layer
- BST
- ps
- C++
- Embedded
- 전송 계층
- STL
- 부트시퀀스
- Network
- 다익스트라
- BHS
- Database
Archives
- Today
- Total
BOBO's Note
Binary Tree 본문
Binary Tree
이진트리는 각 노드가 최대 2개의 자식을 갖는 트리이다.
Binary Search Tree
이진 탐색 트리는 모든 노드 n에 대해 left subtree <= n < right subtree를 만족하는 이진트리이다.
전체 N개의 노드가 균형이 잡힌 BST에 저장되어 있다면, 특정 값을 찾는 데에 O(logN)이 걸린다.
'Algorithm' 카테고리의 다른 글
Segment Tree와 Indexed Tree (0) | 2020.08.16 |
---|---|
Dynamic Programming (0) | 2020.07.02 |
Dijkstra's Algorithm (0) | 2020.05.27 |
Comments