Discussion Board
Go to the previous messageGo to the following message
Current Forum: 15-211 Main Forum
Date: Wed Dec 19 2001 11:09 am
Author: Shi, Ying <shy@cmu.edu>
Subject: Re: Q, 4 Fall 99, heap, balanced tree

1. I think for an AVL insertion can be done with O(log(N)) too

2. that's because of the particular heap order property. when you search down a node, you can NOT decide to go down left or right, so you basicly will have to touch each single node

right ?
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
Q, 4 Fall 99, heap, balanced tree      White, David      Wed Dec 19 2001 9:59 am       
Re: Q, 4 Fall 99, heap, balanced tree      Shi, Ying      Wed Dec 19 2001 11:09 am       
Re: Q, 4 Fall 99, heap, balanced...      White, David      Wed Dec 19 2001 11:21 am       

Back to previous screen