Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2008

Tip: Looking for answers? Try searching our database.

about AVL tree

Thread view: 
John - 24 Apr 2008 16:17 GMT
hi friends,can any body help me to implement an AVL tree:
 1) how to implement the functionalities of AVL Tree,
 2) what are importable files,and
 3)how to compute the complexities of the functions...
Chris Smith - 24 Apr 2008 16:27 GMT
> hi friends,can any body help me to implement an AVL tree:
>   1) how to implement the functionalities of AVL Tree,
>   2) what are importable files,and
>   3)how to compute the complexities of the functions...

That's a huge question.  I'm afraid you'll have to be more specific if
you want a reasonable chance of a good answer.

Wikipedia has a decent article on AVL trees with some pseudo-code and
illustrations.  "Importable files" isn't a commonly used term in Java,
but if I had to guess, I'd think it means you should put this into a
package so that someone else's program can import and use it.  As for
your third question, you could take a whole semester-long college course
on that; but basically, the technique is to count (generally for the
worst possible case) the number of simple operations that are performed
by the function, in terms of the size of the input.  Then express that as
a function, and then perform some simplifications such as dropping non-
leading terms of polynomials, dropping constant coefficients, etc.

Signature

Chris Smith



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.