part3에서 tree.js에 contains메소드를 구현할 때, 재귀를 사용했을 때와 사용하지 않았을 때의 성능차이가 큰가요?
Tail recursion Tail recursion optimization
memorization 검색해보세요