3 ways to solve majority element