In a hierarchical organization, each person (except the ranking officer) reports to a unique superior officer....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In a hierarchical organization, each person (except the ranking officer) reports to a unique superior officer. The reporting hierarchy can be described by a tree T, rooted at the ranking officer, in which each other node v has a parent node u equal to his or her superior officer. Conversely, we will call va direct subordinate of u. Consider the following method of spreading news through the organization. The ranking officer first calls each of her direct subordinates, one at a time. As soon as each subordinate gets the phone call, he or she must notify each of his or her direct subordinates, one at a time. The process continues this way until everyone has been notified. Note that each person in this process can only call direct subordinates on the phone. We can picture this process as being divided into rounds. In one round, each person who has already heard the news can call one of his or her direct subordinates on the phone. The number of rounds it takes for everyone to be notified depends on the sequence in which each person calls their direct subordinates. Give an efficient algorithm that determines the minimum number of rounds needed for everyone to be notified, and outputs a sequence of phone calls that achieves this minimum number of rounds. In a hierarchical organization, each person (except the ranking officer) reports to a unique superior officer. The reporting hierarchy can be described by a tree T, rooted at the ranking officer, in which each other node v has a parent node u equal to his or her superior officer. Conversely, we will call va direct subordinate of u. Consider the following method of spreading news through the organization. The ranking officer first calls each of her direct subordinates, one at a time. As soon as each subordinate gets the phone call, he or she must notify each of his or her direct subordinates, one at a time. The process continues this way until everyone has been notified. Note that each person in this process can only call direct subordinates on the phone. We can picture this process as being divided into rounds. In one round, each person who has already heard the news can call one of his or her direct subordinates on the phone. The number of rounds it takes for everyone to be notified depends on the sequence in which each person calls their direct subordinates. Give an efficient algorithm that determines the minimum number of rounds needed for everyone to be notified, and outputs a sequence of phone calls that achieves this minimum number of rounds.
Expert Answer:
Answer rating: 100% (QA)
To determine the minimum number of rounds needed for everyone to be notified we can use a depthfirst ... View the full answer
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these computer engineering questions
-
KYC's stock price can go up by 15 percent every year, or down by 10 percent. Both outcomes are equally likely. The risk free rate is 5 percent, and the current stock price of KYC is 100. (a) Price a...
-
4 Comparative Programming Languages illustrating your answer by explaining the meaning of the following fragment of code: [self isAwake] whileTrue: [| item | item := self askForCookie. (self...
-
kindly interpret the R squared In order to test its job candidates' technical skills, a company creates a timed Excel test (in minutes) to be completed during the interview. The company asks its...
-
In each case, find a symmetric matrix A such that (v, w) = vTAw. (a) (b) (c) (d) +5vzw = vy 2 + 2vy w, + 2vyw
-
The accompanying data file contains 28 observations with three variables, x 1 , x 2 , and x 3 . a. Using the original values, compute the Euclidean distance for all possible pairs of the first three...
-
According to the Supreme Court decision in Quill Corp. v. North Dakota, a state may not require a retailer with no physical presence in the state to collect and remit sales tax on sales made in the...
-
Helen Bowers, owner of Helens Fashion Designs, is planning to request a line of credit from her bank. She has estimated the following sales forecasts for the firm for parts of 2009 and 2010: May 2009...
-
Discuss at least five of the formatting decisions you would have to make when typing a table. Compare the decisions you provided to those of two of your classmates. Do you agree or disagree with the...
-
Find the following limits: x4 - 16 x2 - 2x - 4 x2 - 4 a) lim X-0 b) lim c) lim x-0 x3 - 8 x3 - 1 X- 2
-
How an organization remains successful is when their supply chain managers are strategists, able to synchronize every effort involved in the process: planning, sourcing, producing and delivering a...
-
Evaluate the feasibility of applying blockchain technology to an organization's supply chain. assess blockchain technology and its applicability to supply chain management. Consider how the...
-
What role does social capital play in bolstering individual and collective resilience, and how can social networks be leveraged to enhance adaptive capacity and promote community well-being in times...
-
How do cognitive and emotional processes interact to cultivate resilience in individuals facing adversities, and what neurobiological mechanisms underpin these processes?
-
1. (3 pts) Use a built-in Matlab function to find the solution to the following equation. x ex-1=0 2. (3 pts) Use a built-in Matlab function to determine the area under the curve for -1 x 1 for the...
-
In September of 2013 Microsoft bought Nokia's mobile business for over $7 billion. This included the acquisition of most of the company's assets in Finland as well as manufacturing capacity in Asia,...
-
On 1 July 2018, Parent Ltd acquired all the shares of Son Ltd, on a cum-div. basis, for $2,057,000. At this date, the equity of Son Ltd consisted of: $ 1,000,000 Share capital 500 000 shares...
-
Design second-order lowpass and highpass blocks, and combine them in parallel, to form a bandstop filter with stopband \(0.25 \leq \omega \leq 0.35\), where \(\omega_{\mathrm{s}}=1\). Plot the...
-
Plot the pole-zero constellation as well as the magnitude response of the transfer function of Exercise 4.20 for \(M=6,7,8\) and comment on the results. Exercise 4.20 Some FIR filters present a...
-
Design a second-order notch filter capable of eliminating a \(10 \mathrm{~Hz}\) sinusoidal component when \(\omega_{\mathrm{s}}=200 \mathrm{rad} / \mathrm{sample}\) and show the resulting magnitude...
Study smarter with the SolutionInn App