/
Ontheotherhand,iffjm=2forallj,thenanyanswerisok.12.2.1HeavyHittersNoww Ontheotherhand,iffjm=2forallj,thenanyanswerisok.12.2.1HeavyHittersNoww

Ontheotherhand,iffjm=2forallj,thenanyanswerisok.12.2.1HeavyHittersNoww - PDF document

jane-oiler
jane-oiler . @jane-oiler
Follow
368 views
Uploaded On 2015-08-07

Ontheotherhand,iffjm=2forallj,thenanyanswerisok.12.2.1HeavyHittersNoww - PPT Presentation

Algorithm1222MisraGriesA SetallCi0andallLfori1tomdoifai2LatindexjthenCjCj1elseifjLjkthenLetLjCj1Ljaielseforj2kdoCjCj1forj2kdoifCj0doLjifjLjkai2L ID: 102306

Algorithm12.2.2Misra-Gries(A) SetallC[i]=0andallL=;fori=1tomdoif(ai2L)(atindexj)thenC[j]=C[j]+1elseif(jLjk)thenLetL[j]=;:C[j]=1&L[j]=aielseforj2[k]doC[j]=C[j]1forj2[k]doifC[j]0doL[j]=;if(jLjk&ai=2L)

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "Ontheotherhand,iffjm=2forallj,thenanyans..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript