Given an array nums of size n, return the majority element.
The majority element is the element that appears more than the floor of n/2
(rounded down) times. You may assume that the majority element always exists in the the array.
Given an array nums of size n, return the majority element.
The majority element is the element that appears more than the floor of n/2
(rounded down) times. You may assume that the majority element always exists in the the array.