Optimization problem for transferring files

Assignment Help Basic Computer Science
Reference no: EM132324670

How would I design a greedy algorithm using pseudocode that will solve an optimization problem for transferring files to disk and return an array map [i] that will contain disk index where the ith will be stored? Using the following inputs:

N = number of files

matching sizes (in MBs) s1, ... sn,

m the number of disks with corresponding storages amounts t1, ..., tm.

How do I figure out the  Big-O time complexity in terms of m and n?

What would the time complexity be if I were to use Brute Force

Reference no: EM132324670

Questions Cloud

How homogenous and heterogeneous grouping can be utilized : Based on your research about the various types of schools choices {Public School, Magnet schools, Charter schools, Year-round school, Independent schools.
What are the basic components required to set up : What are the basic components required to set up this type of network?
Basic components required to set up type of network : What are the basic components required to set up this type of network? How do you add a new PC to this network, so that it can share files to and access
Opening a series of restaurant along qvh : Yuckdonald's is considering opening a series of restaurant along QVH. n possible locations are along a straight line and the distances of these locations
Optimization problem for transferring files : How would I design a greedy algorithm using pseudocode that will solve an optimization problem for transferring files to disk
Discount applicable using nested if-else statements : Given GENDER (1 for male and 0 for female) and AGE of a person, find the discount applicable using nested if-else statements.
Determine problems or opportunities that project will solve : Determine the problems or opportunities that that this project will solve. What is the value of the project? Describe the impact of the problem.
How knowledge-skills or theories of course could be applied : Provide a reflection of at least 500 words (or 2 pages double spaced) of how the knowledge, skills, or theories of this course have been applied, or could be.
What is a customized and ready-made : On information technology, what is a customized and ready-made? What are the uses and benefits of each?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Write a new method named boxbounce

The boxBounce method should have a parameter that specifies how many balls are in the box.

  Suppose a firm produces an output measured in units q

Suppose a firm produces an output measured in units Q. The cost of producing Q units is given by the cost function C(Q) = aQ2 + bQ

  Why are production possibilities curves ppc

Why are production Possibilities Curves PPC often bowed outward from the origin?

  System engineering and software development

How does the development-process framework provides opportunities for streamlining software development, increasing quality, and minimizing risk.

  Security management

Reading and Research Assignment #1 Topic: Security Management 1. Search the Web and locate three (3) Web sites that relate to the topic. These sites could be white papers or research documents found on research databases, commercial or non-commercial..

  Football trajectory equation

Consider a basketball being dribbled. If the height of the basketball can be described by a sine wave of maximum height 2h, average height h and minimum height 0, and the ball hits the ground once per second, how fast would a video camera have to ..

  Computing the digital divide

1) What is meant by the term "Digital Divide" in relation to the Internet? Which groups of people are most negatively affected by the Digital Divide, and why? What are some of the consequences of the Digital Divide to both individuals and society?

  Explain the four stages of the bpm process and summarize

Explain the four stages of the BPM process and summarize the activities in each.

  Effective rate of protection

Assume that country Pacifico is an open economy and the world price of cars is $10. The domestic demand for cars in Pacifico is Q=90-P

  What worms and trojan horses are

Part 1: Provide a detailed description of what worms and Trojan horses are.

  What is the binary representation of the decimal number

1. What is the binary representation of the decimal number 5.75 assuming the IEE 754 single precision format?

  Most important in decision-making

Which of the 10 basic economic principles mentioned in chapter one is the most important in decision-making?

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