madplay / madplay.github.io

오늘도 MadPlay!
https://madplay.github.io
MIT License
18 stars 2 forks source link

이진 탐색 트리: 자바 언어로 구현하기 #142

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

이진 탐색 트리: 자바 언어로 구현하기

자바 언어로 구현한 이진 탐색 트리(Binary Search Tree)

https://madplay.github.io/post/binary-search-tree-in-java

Inderby commented 2 years ago

JVM에 garbage collection이 있어서 removeNode를 따로 지우지 않고 replace Node의 leftChild와 rightChild를 바꿔주는 식으로 하신건가요?