What is the best order for sending people

Assignment Help Data Structure & Algorithms
Reference no: EM13943964

Your friend is working as a camp counselor at a camp. He needs to organize activities for the kids. One of his plans is the following marathon: each contestant must swim 20 laps of a pool, then bike 10 miles, and then run 3 miles. The plan is to send the contestants out in a staggered fashion via the following rule: the contestants must use the pool one at a time. In other words, first one contestant swims the 20 laps, gets out, and starts biking. As soon as this first person is out of the pool a second contestant begins swimming the 20 laps; as soon as he is out of the pool and starts biking, a third contestant begins swimming and so on.

Each contestant has projected swimming time (the expected time it will take him or her to complete 20 laps), a projected biking time (the expected time it will take him or her to complete the 10 miles of bicycling), and a projected running time (the time it will take him or her to complete the 3 miles of running). Your friend wants to decide on a schedule for the triathlon: an order in which to sequence the starts of the contestants. Let's say that the completion time of a schedule is the earliest time at which all contestants will be finished with all three legs of the triathlon, assuming they each spend exactly their projected swimming, biking and running times on the 3 parts. (Again, note that participants can bike and run simultaneously but at most one person can be in the pool at any time.) What is the best order for sending people out if one wants the whole competition to be over as early as possible? More precisely give an efficient algorithm that produces a schedule whose completion time is as small as possible.

Reference no: EM13943964

Questions Cloud

Conduct an international marketing research : Students are required to choose a local product e.g. VB, Vegemite, Haigh Chocolate, Beqa Cheese etc. (product which is going to be launched in a potential overseas country of your choice) and conduct an international marketing research.
Ensure an efficient financial system : What accounts and associated books and registers would you establish to ensure an efficient financial system and why? What strategies would you implement to minimise security risks to the financial system?
They have collected by interviewing members of a village. : An efficient algorithm is proposed to do this: either it produces proposed dates of birth and death for each of the n people so that all the facts hold true, or it reports (correctly) that no such dates can exist. That is the facts collected by th..
Implementation of strategic quality management initiative : Strategic Quality Management (SQM) Implementation Plan -- Individual Assignment - 25% of grade. This SQM plan may be for a religious organization, a city, A&M-Commerce, a manufacturing or engineering organization, the organization for which you wo..
What is the best order for sending people : More precisely give an efficient algorithm that produces a schedule whose completion time is as small as possible.
Project management and teamwork : Reflect upon the project management and teamwork required in a project. Identify key roles, responsibilities and the best practice benchmarking practices found in the literature Suggested length = 1500 words
Basket-weaving course or a philosophy course : You will take either a basket-weaving course or a philosophy course, depending on what your advisor decides. You estimate that the probability of getting an A in basket weaving is 0.85, while in philosophy it is 0.60.
What is the present value of kodaks growth opportunities : Given Kodak's plowback policy, the market believed that Kodak could continue to generate 15 percent return on investment and would maintain its payout policy. Given these beliefs, what was a fair price for Kodak in 1970 immediately after it paid its ..
Prepare bank reconciliation for donald engineering associate : Prepare the bank reconciliation for Donald Engineering Associates. Journalize the November 30 transactions needed to update Donald's Cash account. Include an explanation for each entry.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd