Binary Search Tree

Completed Posted Aug 28, 2003 Paid on delivery
Completed Paid on delivery

The task is to process a file of text to produce a list of the 8-letter words contained in the document. To do this we must maintain a list of 8-letter words from the text. This can, of course, be done using an array. But it would not be very efficient. A better choice is to use a Binary Search Tree. With the Binary Search Tree, the word list will be maintained in alphabetical order. Design the program to process a text file (input the filename internally or through the command line). The output will be the alphabetical list of 8-letter words from the file. The program sequence should be: Repeat, for each line of text in the file; Read a String (a line of text). Decompose the string into tokens (the words). Then for _each 8-letter word_; search the Binary Search Tree for a node containing this word; if it is found, go to the next word. otherwise, insert a node for this word. The classes (etc.) you need are: class pTwoChildNode; class pGenericBinaryTree; class pBinarySearchTree; interface pComparable. Find a suitable text file, of at least two pages to test the program. Design your program so that the word length may be changed. Run your program again, to find the list of 10-letter words. Note: the data field of the BST nodes will be a String object, the word. You will need to implement the pComparable interface for String objects or use the regular JAVA Comparable interface for the comparisons.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

Windows XP

Engineering Java MySQL PHP Software Architecture Software Testing

Project ID: #2968389

About the project

23 proposals Remote project Active Aug 29, 2003

Awarded to:

vw821235vw

See private message.

$15 USD in 3 days
(94 Reviews)
4.3

23 freelancers are bidding on average $24 for this job

nlogicsoftware

See private message.

$42.5 USD in 3 days
(36 Reviews)
7.4
teknowmagic

See private message.

$21.25 USD in 3 days
(124 Reviews)
6.8
mihaiscortaru

See private message.

$25.49 USD in 3 days
(160 Reviews)
6.0
emilianbold

See private message.

$17 USD in 3 days
(80 Reviews)
5.9
ziksainc

See private message.

$25.5 USD in 3 days
(62 Reviews)
5.2
yosevw

See private message.

$8.5 USD in 3 days
(30 Reviews)
5.0
stevelb22

See private message.

$12.75 USD in 3 days
(61 Reviews)
4.5
teamvw

See private message.

$17 USD in 3 days
(36 Reviews)
3.8
uorgs

See private message.

$4.25 USD in 3 days
(4 Reviews)
3.5
always99vw

See private message.

$17 USD in 3 days
(22 Reviews)
3.4
mihaidanila

See private message.

$5.1 USD in 3 days
(12 Reviews)
3.3
fabianjones

See private message.

$22.1 USD in 3 days
(20 Reviews)
3.3
Softkarma

See private message.

$42.5 USD in 3 days
(2 Reviews)
3.4
lemonsmasher

See private message.

$17 USD in 3 days
(12 Reviews)
2.3
horizonconsultvw

See private message.

$85 USD in 3 days
(4 Reviews)
2.3
kitovw

See private message.

$17 USD in 3 days
(5 Reviews)
1.9
grzegorztwa

See private message.

$34 USD in 3 days
(3 Reviews)
2.1
phdonnelly

See private message.

$12.75 USD in 3 days
(2 Reviews)
1.6
vw914040vw

See private message.

$8.5 USD in 3 days
(16 Reviews)
1.6
saurabhg9

See private message.

$29.75 USD in 3 days
(0 Reviews)
0.0