EN FR
EN FR


Section: New Results

Algorithms and analysis

Participant : Laurent Alonso.

The Majority Problem

Given a set of n elements each of which is either red or blue, Boyer and Moore's algorithm uses pairwise equal/not equal color comparisons to determine the majority color. We analyze the average behavior of their algorithm, proving that if all 2n possible inputs are equally likely, the average number of color comparisons used is n-2n/π+O(1) and has variance π-2πn-2nπ+O(1). This joint work with Edward M. Reingold was published in the IPL journal [8] .

The X+Y Sorting Problem

Some combinatorial approaches were taken to try to find bounds on the X+Y problem: Given two lists: X=(x1,...,xn), Y=(y1,...,ym), determine the ordering of the values xi+yj for i[1,n],j[1,m].