Can you build a splay tree using AVL rotations?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
Vance
Messages
180
Reaction score
0
Are there any relations between these two trees ?? Where can i find source code to build a splay tree ?
I have heard that if we applied the ideas of SINGLE ROTATION[/color] and DOUBLE ROTATION[/color] which are used in AVL tree, we can then build SPLAY tree easier, is this correct ?

Thanks a lot for any help,

N
 
Physics news on Phys.org