How Software Gets Done  


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
Verification
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests
statician needed to write papers
By stopbomb on May 17
Max Bid: $100


Easy VB.Net
By innovate on May 17
Max Bid: $25


Java Chart Realtime
By keisterj on May 17
Max Bid: Open to fair suggestions


ASP Family Project
By CFC on May 17
Max Bid: $100


Custom Scanning Application
By A. Walter on May 17
Max Bid: Open to fair suggestions


C Assignment
By Nice Guy on May 17
Max Bid: $45


Click here to put this ticker on your own site

Open Work Categories.
Database 
(136 open)
   Access 
(58 open)
   MySQL 
(74 open)
   Oracle 
(9 open)
   SQL Server 
(48 open)
   Other DB 
(19 open)
Documentation / Tech Writing 
(32 open)
Data Entry 
(20 open)
Game Development 
(21 open)
Graphics / Art / Music 
(54 open)
   Graphics 
(63 open)
     3d Animation 
(17 open)
   Art (Misc.) 
(19 open)
   Music 
(11 open)
   3d Modeling 
(10 open)
Language Specific 
(104 open)
   ASP 
(61 open)
   ASP .NET 
(6 open)
   C# 
(42 open)
   C++ / C 
(118 open)
   Carbon (Mac OS) 
(1 open)
   Cold Fusion 
(6 open)
   Delphi 
(32 open)
   Java 
(53 open)
   Perl 
(34 open)
   PHP 
(93 open)
   XML/XSL 
(26 open)
   Visual Basic 
(146 open)
   Visual Basic .Net 
(73 open)
   Other 
(52 open)
Misc 
(43 open)
   CAD 
(4 open)
MultiMedia 
(43 open)
Network 
(44 open)
   Network Design 
(10 open)
   Network Implementation 
(14 open)
Platforms 
(72 open)
   Windows 
(155 open)
     MS Exchange 
(4 open)
     MS Office 
(15 open)
     Other 
(11 open)
   Darwin 
(1 open)
   Internet Browser 
(43 open)
   Linux 
(50 open)
   UNIX 
(29 open)
   Hand Held/PDA Programming 
(9 open)
Requirements 
(12 open)
Security 
(34 open)
Testing / Quality Assurance 
(18 open)
Web 
(155 open)
   Page Design 
(94 open)
   Flash 
(61 open)
   Web Services 
(77 open)
   Web (Other) 
(95 open)
Training 
(14 open)
   Computer Based 
(19 open)
 
Other
 
Other Sites

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

data structures (java)
Bid Request Id: 38048
Bookmark in my 'To Do' list
Posted by: LaurenWalters (1 ratings)
(Software buyer rating 10)
Non-action Ratio: Very Good - 0.00%
Posted: Dec 2, 2002
10:02:32 PM EDT
Bidding Closes: Dec 5, 2002
10:00:00 AM EDT
Viewed (by coders): 221 times
Deadline: 12/5/2002 5: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, Misc
Enter chat room for this bid request
(0 active users at May 17, 2003 7:52:03 PM EDT)

Description:
This is a Homework project for a Data Structures class that involves 4 parts.

1) Write the code for the public method Graph.cycle(), which determines whether an undirected graph has a cycle. Base your code on either a DFS or a BFS. Test the code and determine the time and space complexities of your code. Explain. (link to the class Graph.java included below)

2) Let G=(V, E) be an undirected graph. A subset S of vertices of G is a dominating set iff for every vertex u in V-S, there is an edge between u and some vertex in S. A minimum dominating set is a dominating set of minimum size. The problem of finding a minimum dominating set in a graph is NP-hard.
(a). [4 pts] Provide a high-level statement of a possible greedy heuristic for the minimum dominating set problem.
(b) [3 pts] Give an example of a graph on which your heuristic actually produces a minimum dominating set and also one example on which it
does not.
(c) [8 pts] Redefine the heuristic of (a) into the public method Graph.minDominatingSet(int [] dominatingSet) that returns the size of the smallest set found and put the vertices of this set into the array dominatingSet. Test your code.

3)Write a merge sort code that works on chains of elements. The output should be a sorted chain. Make your sort method a member of the class Chain or of a class that extends Chain. (link to the class Chain.java included below)


4)Rewrite this program using a stack to simulate the recursion. The new code should stack the boundaries of only the larger of the segments 'left' and 'right'. Show that the stack space needed is O(log(n)).

/** sort a[0 : a.length - 1] using the quick sort method */

public static void quickSort(Comparable [] a)
{
QuickSort.a = a;
if (a.length <= 1) return;
//move largest element to right end
MyMath.swap(a, a.length - 1, MyMath.max(a, a.length -1);
quickSort(0, a.length - 2);
}
***Please download Graph.java and Chain.java FROM
WEBSITE MENTIONEDIN DELIVERABLES

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

**Complete ownership and distribution copyrights to all work purchased.

*****Download the code for Graph.java and Chain.java from this website: Go here http://www.cise.ufl.edu/~sahni/dsaaj/
and click on 'Programs' in the top left scroll down menu. Click on 'java codes for programs in text only' and follow directions. They are the java codes from the text. The codes are in a zip file.

1) Write the code for the public method Graph.cycle(), which determines whether an undirected graph has a cycle. Base your code on either a Depth-First Search or a Breadth-First Search. Look at the methods dfs and bfs in Graph.java. Test the code and determine the time and space complexities of your code. Explain.

2) Let G=(V, E) be an undirected graph. A subset S of vertices of G is a dominating set iff for every vertex u in V-S, there is an edge between u and some vertex in S. A minimum dominating set is a dominating set of minimum size. The problem of finding a minimum dominating set in a graph is NP-hard.
(a). [4 pts] Provide a high-level statement of a possible greedy heuristic for the minimum dominating set problem.
(b) [3 pts] Give an example of a graph on which your heuristic actually produces a minimum dominating set and also one example on which it
does not.
(c) [8 pts] Redefine the heuristic of (a) into the public method Graph.minDominatingSet(int [] dominatingSet) that returns the size of the smallest set found and put the vertices of this set into the array dominatingSet. Test your code. (refer to Graph.java for this one also)

3)Write a merge sort code that works on chains of elements. The output should be a sorted chain. Make your sort method a member of the class Chain or of a class that extends Chain. (Look at link at top of page for Chain.java class)

4)Rewrite this program using a stack to simulate the recursion. The new code should stack the boundaries of only the larger of the segments 'left' and 'right'. Show that the stack space needed is O(log(n)).

/** sort a[0 : a.length - 1] using the quick sort method */

public static void quickSort(Comparable [] a)
{
QuickSort.a = a;
if (a.length <= 1) return;
//move largest element to right end
MyMath.swap(a, a.length - 1, MyMath.max(a, a.length -1);
quickSort(0, a.length - 2);
}


Platform:
Windows 98
Java platform

Must be 100% finished and received by buyer on:
Dec 5, 2002 5: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.


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!
ioikmn
(13 ratings)
in Bangkok, -
Thailand
Bid id: 413,953
 
$40 (USD) Dec 3, 2002
10:08:02 AM EDT
 9.3
(Superb)
   
I can do your job.

I have strong point at alogorithm and data structure.

will be finished with in your deadline
 
 
 
 
  See 3 private reply(ies)
to/from ioikmn.
 




Quick 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.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.98 on 92 jobs 
Securenext
Rated a 9.98 on 98 jobs 
Codman
Rated a 9.97 on 144 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 176 jobs 
RNA
Rated a 9.92 on 37 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
hernest
Rated a 10 on 109 jobs 
markesh
Rated a 10 on 21 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.