Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 344 Weeks Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Architecture and Design Posted 15 May 2017 My Price 10.00

Dynamic median-finding

Dynamic median-finding. Design a data type that supports insert in logarithmic time, find the median in constant time, and delete the median in logarithmic time. Hint: Use a min-heap and a max-heap.

 

 

Answers

(8)
Status NEW Posted 15 May 2017 12:05 PM My Price 10.00

-----------

Attachments

file 1494852776-Answer.docx preview (767 words )
D-----------yna-----------mic----------- me-----------dia-----------n-f-----------ind-----------ing-----------. D-----------esi-----------gn -----------a d-----------ata----------- ty-----------pe -----------tha-----------t s-----------upp-----------ort-----------s i-----------nse-----------rt -----------in -----------log-----------ari-----------thm-----------ic -----------tim-----------e, -----------fin-----------d t-----------he -----------med-----------ian----------- in----------- co-----------nst-----------ant----------- ti-----------me,----------- an-----------d d-----------ele-----------te -----------the----------- me-----------dia-----------n i-----------n l-----------oga-----------rit-----------hmi-----------c t-----------ime-----------. H-----------int-----------: U-----------se -----------a m-----------in------------hea-----------p a-----------nd -----------a m-----------ax------------hea-----------p. -----------  ----------- p-----------ubl-----------ic -----------cla-----------ss -----------Max-----------Hea-----------p -----------{ -----------pri-----------vat-----------e i-----------nt[-----------] H-----------eap-----------; -----------pri-----------vat-----------e i-----------nt[-----------] s-----------ort-----------; -----------pri-----------vat-----------e i-----------nt -----------siz-----------e; ----------- pr-----------iva-----------te -----------int----------- ma-----------xsi-----------ze;----------- p-----------riv-----------ate----------- st-----------ati-----------c f-----------ina-----------l i-----------nt -----------FRO-----------NT -----------= 1-----------; -----------pub-----------lic----------- Ma-----------xHe-----------ap(-----------int----------- ma-----------xsi-----------ze)----------- {----------- ----------- -----------thi-----------s.m-----------axs-----------ize----------- = -----------max-----------siz-----------e; ----------- ----------- t-----------his-----------.si-----------ze -----------= 0-----------; ----------- -----------
1494852782-1710193_2_636303543574345244_sample-output.PNG
Not Rated(0)