Finding majority for integer elements

TarafdarRajarshi, HanYijie · Journal of computing sciences in colleges · 2018

For n input elements and a positive integer k, an element in the input is regarded as a majority element if it occurs at least n/k time. The main idea of the paper is to give solutions to the major...

Read the paper · More papers on PaperTik