DSA Key Problems

Majority Element

Return the value that appears more than half the time in a nonempty array.