716. Majority Element II
Given an integer array of size n, Om needs to find all the elements that appear more than ⌊n/3⌋ times. The elements should be printed in sorted form.
The first line of input contains N, the size of the array. The second line contains N elements of the array.
Print all the elements that appear more than [n/3] times in the array.
5 1 1 2 3 2
1 <= nums.length <= 5 * 10^4 -10^9 <= nums[i] <= 10^9