Create an algorithm to solve this particular problem

Assignment Help Data Structure & Algorithms
Reference no: EM131627287

Assignment: Algorithm Complexity Issues

In this weeks summary, the dispatch department has contacted you with a new problem. Once they receive a new order, they have to look for each product's availability in the existing warehouses. The preference is to ship from the minimum amount of warehouses and to always ship from the warehouse that contains the maximum amount of units.

For example, review the following order (number 10333) that was received by the dispatch department this morning:

Product ID

Amount

0001

10

0005

12

0003

3

0002

4

Be sure to also review the following diagram that shows the warehouse and the list of available products:

 

Warehouse 1

Warehouse 2

Warehouse 3

Product 001

10

3

100

Product 002

0

7

6

Product 003

3

4

1

Product 004

4

4

4

Product 005

7

1

4

The ideal shipment would be as follows:

Product ID

Units

Warehouse

0001

10

1

0005

7

1


1

2


4

3

0003

3

2

0002

4

2

 

Complete the following:

• What approach would you follow to create an algorithm to solve this particular problem? Brute force or greedy? Explain the logic that you follow for your choice.

• Present the algorithm either using pseudocode or a flowchart.

Reference no: EM131627287

Questions Cloud

What concerns should you have regarding these conversations : What concerns should you have regarding these conversations, According to consumer protection laws, what recourse might Janet have under the circumstances
Difference between an operating budget and a capital budget : Discuss the difference between an operating budget and a capital budget
Could the same objective be obtained using options on etfs : Why would an investor want to use index options to hedge a portfolio of common stock? Could the same objective be obtained using options on ETFs?
What is the most that can be made from writing calls : Why would an investor want to write covered calls? Explain how you can reduce the risk on an underlying common stock by writing covered calls.
Create an algorithm to solve this particular problem : What approach would you follow to create an algorithm to solve this particular problem? Brute force or greedy? Explain the logic that you follow for your choice
What is the total profit if stock price remains unchanged : HSBC stock is currently trading at £475.8 (Pound sterling). George decides to write a covered call on the stock by writing one call with a strike of £490.
What is the value of this annuity in 3 years : You are promised a 3 year annuity at $275 what is the value of this annuity in 3 years if the rate is 2%.
Describe at least four organizational culture characteristic : List and describe at least four organizational culture characteristics that increase the likelihood of project success and tell why each is helpful.
Discuss what absorption-variables and throughput costing are : Discuss what absorption, variables, and throughput costing are and determine when each would be used

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