Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Monge arrays
An m n array A of real numbers is a Monge array if for all i , j , k, and l such that 1  i < k  m and 1  j < l  n, we have
AOEi; j  C AOEk; l   AOEi; l  C AOEk; j  :
In other words, whenever we pick two rows and two columns of aMonge array and consider the four elements at the intersections of the rows and the columns, the sum of the upper-left and lower-right elements is less than or equal to the sum of the lower-left and upper-right elements. For ex, the following array is Monge:
10 17 13 28 23
17 22 16 29 23
24 28 22 34 24
11 13 6 17 7
45 44 32 37 23
36 33 19 21 6
75 66 51 53 34
a. Prove that an array is Monge if and only if for all i D 1; 2; :::;m  1 and j D 1; 2; :::; n  1, we have
AOEi; j  C AOEi C 1; j C 1  AOEi; j C 1 C AOEi C 1; j  :
(Hint: For the "if" part, use induction separately on rows and columns.)
b. The following array is not Monge. Change one element in order to make it Monge. (Hint: Use part (a).)
37 23 22 32
21 6 7 10
53 34 30 31
32 13 9 6
43 21 15 8
c. Let f .i/ be the index of the column containing the leftmost minimum element of row i . Prove that f .1/  f .2/      f .m/ for any m n Monge array.
d. Here is a description of a divide-and-conquer algorithm that computes the leftmost minimum element in each row of an m n Monge array A:
Construct a submatrix A0 of A consisting of the even-numbered rows of A.
Recursively determine the leftmost minimum for each row of A0. Then compute the leftmost minimum in the odd-numbered rows of A.
describe how to compute the leftmost minimum in the odd-numbered rows of A (given that the leftmost minimum of the even-numbered rows is known) in O.m C n/ time.
e. prepare the recurrence describing the running time of the algorithm described in part (d). Show that its solution is O.m C n log m/.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9121345

Have any Question?


Related Questions in Computer Engineering

Using jython 50 or higherwrite a 2-part program as

Using Jython 5.0 or Higher: Write a 2-part program as follows: Part 1: Write a function to convert Celsius to Fahrenheit Part 2: Write a function to convert Farenheit to Celsius Both of the functions (Celsius to Farenhei ...

Explain that when an unauthorized individual gains access

Explain that when an unauthorized individual gains access to the information an organization trying to protect, that act is categorized as a deliberate act of espionage or trespass.

Quality management plan it should includea short statement

Quality Management Plan. It should include: A short statement that reflects your team's philosophy or objective for ensuring that you deliver a quality system to your client. Develop and describe the following that your ...

Explain that our ability to secure each computers stored

Explain that our ability to secure each computers stored information is now influenced by the security on each computer to which it is connected.

Question suppose your computer is able to test 50000

Question Suppose your computer is able to test 50,000 passwords per second. If the password were 8 bytes long (a-z, A-Z, 0-9), what year will the password be cracked through brute force (Show your work)? Assume 1) you we ...

Recall that s-des operates on a block size of 8 bits

Recall that S-DES operates on a block size of 8 bits, producing a ciphertext that is also 8 bits long. a. In this scenario, how many different ciphertexts are there? b. How many different 8-bit block ciphers can there be ...

Sample a signal every 05 milliseconds for 16 signal levels

Sample a signal every 0.5 milliseconds for 16 signal levels. Then, transmit this signal through a noiseless channel. What is the data rate? If we double the sample rate, what is the data rate?

In unix programming ordinarily the exec system call follows

In UNIX programming, ordinarily the exec() system call follows the fork() call. Explain what would happen if a programmer were to inadvertently place the call to exec() before the call to fork().

Question suppose that you have a set of n files that have

Question : Suppose that you have a set of n files that have to be copied on 1GB USB drives. You can assume that the file sizes are known and always less than or equal to 1GB. The objective is to use the minimum possible ...

Question 1 the facilities coordinator is a critical role

Question: 1. The facilities coordinator is a critical role. Put yourself in the position of the facilities coordinator. 2. Determine and list the qualities you have that would make you an excellent candidate for this pos ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As