Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Computer Science (http://www.domainnameforum.org/forumdisplay.php?f=136)
-   -   Algorithm for AVL tree (http://www.domainnameforum.org/showthread.php?t=25281)

webdev 09-06-2009 08:51 PM

Algorithm for AVL tree
 
Hi, I got the following question: We have an AVL tree with n nodes (numbered from 1 to n). Each node i contains a weight - wi which is an integer. Pi is the set of the ancestors of the node i, and w(Pi) is the set of weights of all the nodes in Pi. I need to find an algorithm which runs...


All times are GMT -4. The time now is 11:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.