A
Amit Bhatnagar
An array has a majority element if there exists an element whose
frequency is more than (N/2 +1 ) where N is the number of elemnts in
array..
We need to write a program to find the majority elemnt if it exists..
frequency is more than (N/2 +1 ) where N is the number of elemnts in
array..
We need to write a program to find the majority elemnt if it exists..