How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
Oscommerce Fix - Category/Subcat egory Titles
By sistervisiontec h on Sep 8
Max Bid: $50


SQL Query & Stored Procedure - Oracle
By jpmarno on Sep 8
Max Bid: $200


Oscommerce Contributions - Affiliate Software
By sistervisiontec h on Sep 8
Max Bid: $40


Custom web mail
By TheBestCoder on Sep 8
Max Bid: Open to fair suggestions


Link Java Games to MS SQL
By TheBestCoder on Sep 8
Max Bid: Open to fair suggestions


Online pharmacy script
By jnzsoftware on Sep 8
Max Bid: $500


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(186 open)
   Access 
(60 open)
   MySQL 
(114 open)
   Oracle 
(14 open)
   SQL Server 
(80 open)
   Other DB 
(23 open)
Documentation / Tech Writing 
(30 open)
   Language (Human) Translations 
(10 open)
Data Entry 
(32 open)
Game Development 
(20 open)
Graphics / Art / Music 
(64 open)
   Graphics 
(68 open)
     Adobe AfterEffects 
(12 open)
     Adobe Photoshop 
(32 open)
     Adobe Premiere 
(11 open)
     3d Animation 
(23 open)
   Art (Misc.) 
(17 open)
   Music 
(10 open)
   Photography 
(10 open)
   3d Modeling 
(14 open)
Language Specific 
(126 open)
   Assembly / Machine language 
(11 open)
   ASP 
(65 open)
   ASP .NET 
(70 open)
   C# 
(77 open)
   C++ / C 
(151 open)
   Carbon (Mac OS) 
(7 open)
   Cocoa / Obj-C 
(4 open)
   Cold Fusion 
(12 open)
   Delphi 
(57 open)
   Java 
(83 open)
   JSP 
(13 open)
   Perl 
(48 open)
   Python 
(5 open)
   PHP 
(116 open)
   XML/XSL 
(41 open)
   Visual Basic 
(177 open)
   Visual Basic .Net 
(120 open)
   Other 
(78 open)
Misc 
(38 open)
   Middleware 
(1 open)
   CAD 
(5 open)
MultiMedia 
(35 open)
   Video Editing 
(15 open)
Network 
(35 open)
   Network Design 
(6 open)
   Network Implementation 
(4 open)
Platforms 
(79 open)
   Windows 
(206 open)
     MS Exchange 
(7 open)
     MS Office 
(19 open)
     Other 
(9 open)
   Darwin 
(3 open)
   Embedded Systems 
(1 open)
   Hand Held/PDA Programming 
(12 open)
   Internet Browser 
(58 open)
   Linux 
(53 open)
   Lotus Notes / Domino 
(2 open)
   UNIX 
(26 open)
Requirements 
(15 open)
Security 
(31 open)
Testing / Quality Assurance 
(22 open)
Web 
(202 open)
   Page Design 
(93 open)
   Flash 
(50 open)
   Marketing 
(1 open)
   Web Services 
(90 open)
   Web (Other) 
(98 open)
Training 
(11 open)
   Computer Based 
(11 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

easy java project
Bid Request Id: 22608
Bookmark in my 'To Do' list
Posted by: elohmrow (7 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 16.67%
Buyer Security Verifications: Good
Approved on: Jul 23, 2002
8:48:33 PM EDT
Bidding Closes: Jul 24, 2002
9:52:51 PM EDT
Viewed (by coders): 240 times
Deadline: 7/26/2002 12:00:00 PM
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Java
Enter chat room for this bid request
(0 active users at Sep 8, 2003 8:18:38 PM EDT)

Description:
Any tree can be transformed into a binary
(here "binary" means that every node has at most two children) tree
by
first deleting from each node all the links to its children except the link
to its leftmost child, and then setting a link from each node to its immediate
right sibling.

a) Write a procedure which takes a tree as input and produces its corresponding
binary tree.
The input tree is given by listing, for every node, the children of that node.
Nodes are
represented by integers. For example, the following representation:

1 2 3 4 5
2 6
3 7 8

denotes a tree having a root 1 with children 2,3,4 and 5; node 2 has one child,
i.e., node 6;
node 3 has children 7 and 8. Leaves (nodes with no children) will not have a
separate input line;
they will merely appear on the child list of another node. For simplicity you
may assume
that the nodes of the tree will be input in level order.

b) Let now T be a tree and F be the binary tree equivalent to T under the above
transformation.
Write a function that accepts F as input and returns the height of T.

c) Write a procedure that accepts F and a node v and returns first all the
descendants of v in T
and then all the ancestors of v in T. The ancestors of v in T must be output
with the following format:
print the list of all the ancestors of v in F; in this
list, mark the ancestors of v in T by appending an asterisk to each.

To test your procedures, your main program should call all three procedures and
print their results. Specifically,

a) Call the first procedure to read in a tree and produce a binary tree.
Following this, print out the newly
created binary tree in both preorder and postorder. For listing purposes,
consider the leftmost-child
to be the left child and the right-sibling to be the right child of a node. As
you know, a preorder
and postorder listing uniquely identifies a binary tree. (You will probably wish
to write separate
auxiliary procedures to do the predorder and postorder listings.)

b) Call the second function to determine the tree's height and print out the
resulting value.

c) Call the third procedure three times, once each with the nodes labeled 1, 2,
and 3.
Print the results for each of these 3 calls.

Deliverables:
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

Complete copyrights to all work purchased.


Platform:
UNIX

needs to run from both the command line and an input file.

For an experienced coder (5+ years), this will take you 15 minutes to complete. It would take me about 10 hours, and I don't have 10 hours to spare!

Must be 100% finished and received by buyer on:
Jul 26, 2002 12:00:00 PM EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
Must be finished by 7/26/02 12:00:00 PM. This is a very easy project that I do not have the time to work on. I have other projects more important to do. An experienced code will finish this in less than a half-hour. Bidding will close down early.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Smart Pin
(58 ratings)
in IASI, IASI
Romania
Bid id: 249,368
 
$25 (USD) Jul 24, 2002
3:23:28 AM EDT
 9.82
(Excellent)
   
Dear sir,

I can do this project for you. You will have code in a few hours.

I have strong experince with JAVA and such kind or problems.

Regards,
Marius.

 
 
 
 
  There are 14 private replies to/from Smart Pin. Click here to view them.
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Securenext
Rated a 9.97 on 120 jobs 
Buddies
Rated a 9.84 on 91 jobs 
Codman
Rated a 9.97 on 157 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
D-N-S
Rated a 9.93 on 38 jobs 
hernest
Rated a 10 on 121 jobs 
markesh
Rated a 10 on 22 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 84 jobs 
florentin
Rated a 10 on 56 jobs 
PSergei
Rated a 9.76 on 100 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.