subject

Given a list of n numbers, the median is the number of rank dn/2e, i. e., it is the dn/2eth smallest element. Suppose the list is changing dynamically. That is at every step, a number is added or deleted from the list. The goal is to output the median in the current list as fast as possible. In other words, at any point in time, we would like to answer the query: "What is the median of the current list of numbers ?". How fast can you answer this query?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
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 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
You know the right answer?
Given a list of n numbers, the median is the number of rank dn/2e, i. e., it is the dn/2eth smallest...
Questions
question
Mathematics, 26.08.2020 23:01
question
Mathematics, 26.08.2020 23:01
question
Mathematics, 26.08.2020 23:01
question
Mathematics, 26.08.2020 23:01
Questions on the website: 13722363