Solved PROBLEM 1. [30 POINTS) Implement a method majority | Chegg.com

Solved PROBLEM 1. [30 POINTS) Implement a method majority | Chegg.com