subject

Modify the closest pair of points algorithm so that the separating line L now separates the first n/4 points (sorted according to their r coordinates) from the remaining 3n/4 points. Write the recurrence relation that gives the running time of the modified algorithm. Is the running time of your algorithm still O(nlog n)? Specify the best asymptotic running time you can get for your algorithm and briefly justify.

Now let the line L separate the first √ n points (according to their x- coordinates) from the remaining n - √ n points. Write the recurrence relation that gives the running time of this modification of the algorithm. Is the running time of your algorithm still O(n log n)? If your answer is yes, provide a brief justification; if your answer is no, provide a (asymptotic) lower bound on the running time of the modified algorithm that should be enough to justify your answer.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 22.06.2019 10:30
Choose the best explanation for the following statement communication is symbolic
Answers: 3
question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
You know the right answer?
Modify the closest pair of points algorithm so that the separating line L now separates the first n/...
Questions
question
Mathematics, 23.04.2021 19:10
question
Mathematics, 23.04.2021 19:10
question
Mathematics, 23.04.2021 19:10
question
Mathematics, 23.04.2021 19:10
Questions on the website: 13722360