Thread Closed

Binary Search Trees... in Java

 
Share Thread Thread Tools
Oct27-04, 10:23 PM   #1
 

Binary Search Trees... in Java


Is there a library in java I can use to make AVL trees.
See we have this project where we have to store students in a Binary search tree and then have access to their stuff... anyway is there a structure I can just import to be able to use it... or do I have to implement my own generic tree?
[
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> 'Whodunnit' of Irish potato famine solved
>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change
>> Curiosity Mars rover drills second rock target
Oct28-04, 04:19 AM   #2
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Try java.util.TreeSet, or java.util.TreeMap.

(You sure you want a binary search, not a hash table?)
 
Oct28-04, 07:42 AM   #3
 
We have to use both.. is what I understood but.... I'm not sure how actually
 
Thread Closed
Thread Tools


Similar Threads for: Binary Search Trees... in Java
Thread Forum Replies
[SOLVED] binary search Calculus & Beyond Homework 0
Its all about C++ Binary Trees Programming & Comp Sci 3
Representing Sets as Binary Trees Calculus & Beyond Homework 9
I need help about data structures (trees) in java Programming & Comp Sci 1