문제

I'm looking in my book, and it doesn't explain it. Its telling me what a binary search tree is and it decided to use strings.

         Jared
        /     \
 Brittany      Megan
 /      \        /   \
Brett  Doug     Jim  Whitney

So supposedly, a node is greater than its left subtree and lesser than its right subtree. How is Jared greater than Brittany?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top