Topic: Array Problem / Level: intermediate

Problem: Implement an algorithm to find the majority element in an array (an element that appears more than n/2 times).

Run the code to see the output here...