이진 트리는 동적인 재귀 자료구조로, 왼쪽과 오른쪽 하위 구조에 값을 구성한다. 왼쪽과 오른
쪽 하위 구조를 사용해 값이
N
개인 컬렉션을 각각
N
/
2
개로 고르게 분할할 수 있다. 이진 트리
는 효율적인 구현을 이끄는 수많은 재귀 자료구조의 기반이 된다. 그 예는 다음과 같다.
●
레드-블랙 트리
red
-
black
tree
는 균형 이진 트리에 대한 더 효율적인 접근이지만 구현은
AVL
트리보다
복잡하다.
●
B
-트리 및
B
+ 트리는 데이터베이스나 파일 시스템에 사용한다.
●
R
-트리 및
R
* 트리는 공간 정보 처리에 사용한다.
●
k
-
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.