File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Binary Search Trees Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Binary Search Trees" Watch "Binary Search Trees" New topic

Binary Search Trees

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How do i store data read in from a file in a balanced binary search tree? I tried to use the insert method but i get an exception. Could anyone give me a basic code example for reading data (strings) into a binary tree please?
I agree. Here's the link:
subject: Binary Search Trees
jQuery in Action, 3rd edition